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

Components specs #1

Open
Open

Description

@fox1t

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

Activity

  1. self-assigned this
    on Aug 11, 2019
  2. jackcmeyer commented on Aug 11, 2019

    @jackcmeyer
    Member

    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:

  3. lancerutkin commented on Aug 12, 2019

    @lancerutkin

    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.

  4. fox1t commented on Aug 13, 2019

    @fox1t
    MemberAuthor

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

  5. lancerutkin commented on Aug 14, 2019

    @lancerutkin

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

  6. jackcmeyer commented on Aug 20, 2019

    @jackcmeyer
    Member

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

  7. fox1t commented on Aug 20, 2019

    @fox1t
    MemberAuthor

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

  8. jackcmeyer commented on Aug 20, 2019

    @jackcmeyer
    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?

  9. pinned this issue on Aug 22, 2019
  10. added this to the v0.1.3 milestone on Sep 6, 2019
  11. modified the milestones: v0.1.3, v0.1.4 on Sep 6, 2019
  12. modified the milestones: v0.1.4, v0.1.6, v0.2.0 on Sep 13, 2019
  13. deleted a comment from stale on Nov 15, 2019
  14. added this to the v1.0.0 milestone on Feb 20, 2020
  15. matteovivona commented on May 28, 2020

    @matteovivona
    Contributor

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

  16. added a commit that references this issue on Jun 22, 2020
  17. added a commit that references this issue on Sep 7, 2020
  18. Hmgov commented on May 10, 2022

    @Hmgov

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions