Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Components specs #1

Open
20 tasks
fox1t opened this issue Aug 11, 2019 · 9 comments
Open
20 tasks

Components specs #1

fox1t opened this issue Aug 11, 2019 · 9 comments
Assignees
Labels
in progress question Further information is requested
Projects
Milestone

Comments

@fox1t
Copy link
Member

fox1t commented Aug 11, 2019

Here are listed must-have components. The list will be expanded and improved over time. If a component depends on a 3rd party component, it must be wrapped it in a way that it could be replaced with no effort, if we want to change that dependency in the future: we need to expose our public API. Some dependency are still missing because we need to test some libraries before deciding.

Components we need:

  • Table based on react-table bundlephobia (Tables #28)
    • (remote) pagination
    • injecatble behaviours
    • fuzzy search
    • (remote) searchable columns
    • (remote) sortable content
    • custom column actions
    • inline row details
    • ...
  • Form, based on Formik library bundlephobia, (Forms #32) must have:
    • form builder: outputs a jsonschema, including validation and field types
    • auto building forms from a jsonschema
    • auto validating on predefined input types; function on custom input types
    • Rich text editor: (Rich Text Editor #29)
      • TinyMCE bundlephobia (we need also to add globally tinymce.min.js that is another 452KB, but we can cache it in an aggressive way): we have to check if the license is compatible with a MIT licensed opensource project
  • Loader based on react-spinners bundlephobia
  • Viewer:
  • Alerts and Confirmations based on [missing] (Alert #30)
  • Video Player based on [missing] (Video Player #31)
  • Toaster based on react-toastify bundlephobia
  • Uploader
    • custom upload component
    • opt-in end-to-end encryption
  • File manager
    • custom file manager
    • opt-in end-to-end encryption
  • Chat
    • web-socket based (I'll really want to exclude socket.io from the equation, if possible)
    • end-to-end encrypted
@fox1t fox1t self-assigned this Aug 11, 2019
@fox1t fox1t added the question Further information is requested label Aug 11, 2019
@jackcmeyer
Copy link
Member

jackcmeyer commented Aug 11, 2019

HospitalRun/hospitalrun-frontend#387 requested a dashboard like feature which will require the use of some graphs and charts.

Possible React libraries for charts/graphs:

@lancerutkin
Copy link

lancerutkin commented Aug 12, 2019

One note on those libraries is that they're all fairly heavy for low bandwidth internet connections (see bundlephobia.com), which is the same concern raised about socket.io.

I found something called Frappe charts which is lighter and may be worth considering. bundelphobia.

@fox1t
Copy link
Member Author

fox1t commented Aug 13, 2019

Ok, I think that the best way is to add always bundlephobia link, when suggesting libs. Can you please modify your comments?

@lancerutkin
Copy link

A non-socket.io WebSocket option for the chat is ws.
bundlephobia

@jackcmeyer
Copy link
Member

@fox1t I've updated my comments with bundlephobia links.

@fox1t
Copy link
Member Author

fox1t commented Aug 20, 2019

@jackcmeyer and @lancerutkin check the repo now. We decided to use tsdx and it is one of the best devexperience I've ever seen!

@jackcmeyer
Copy link
Member

@fox1t does it make sense to break out each one of these components into an issue with specific requirements so the community can start tackling them?

@matteovivona matteovivona pinned this issue Aug 22, 2019
@matteovivona matteovivona added this to To do in Version 2.0 via automation Sep 6, 2019
@matteovivona matteovivona added this to the v0.1.3 milestone Sep 6, 2019
@matteovivona matteovivona modified the milestones: v0.1.3, v0.1.4 Sep 6, 2019
@matteovivona matteovivona modified the milestones: v0.1.4, v0.1.6, v0.2.0 Sep 13, 2019
@stale stale bot added the wontfix This will not be worked on label Nov 15, 2019
@fox1t fox1t removed the wontfix This will not be worked on label Nov 15, 2019
@HospitalRun HospitalRun deleted a comment from stale bot Nov 15, 2019
@matteovivona matteovivona added this to the v1.0.0 milestone Feb 20, 2020
@matteovivona
Copy link
Contributor

@jackcmeyer @irvelervel @fox1t can we update this list? or close the issue?

matteovivona pushed a commit that referenced this issue Jun 22, 2020
fox1t pushed a commit that referenced this issue Sep 7, 2020
@Hmgov
Copy link

Hmgov commented May 10, 2022

IMG_20220502_112211
the master plane would world war ll deploments 1700 bilian deploment hosted access data

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in progress question Further information is requested
Projects
Version 2.0
  
To do
Development

No branches or pull requests

6 participants