-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recently Edited Side Drawer #180
Comments
Hi just found this project looks very good, react-dock seems good but it's not been actively maintained. |
Yes, react-dock may be a bit outdated now. Their demo does not seem to have the edge-touch open behavior out of the box either. These are the ones I found: |
They both look good, but react-sidebar is implementing the material spec and I think https://material-ui.com/components/drawers/ this is a well tested and viable option. |
Side Drawer Libraries Review For React JS 1. react-sidebar.
2. Material UI Swipeable Drawer.
3. react-native-side-menu
https://docs.google.com/document/d/1R1fxi514skRnhzmbIiYcq4UVPIQ46P0DsSfaCjTk2q8/edit |
I think we should go with Material UI Swipeable Drawer |
Thanks for the analysis!
It's interesting to note that at least react-sidebar works on initial page load since there is no page to go back to. I wonder if it may also work for the standalone PWA when loaded from the home screen. Not something we can really control though.
Feel free to proceed with Material UI Swipeable Drawer. Thanks! |
@shresthabijay There is a requirement that I became aware of that I hadn't made explicit. Feel free to handle this in a later milestone. Deleting a thought should, in addition to removing it from the recently edited list, add its context to the top of the list. e.g. Deleting This is the expected user experience since deleting is a form of editing for the user. |
@shresthabijay Here are the issues I am experiencing currently:
|
I have started working on it. I will ping you back after resolving these issues. |
When the user swipes from the left edge of the screen or taps the hamburger menu, a side drawer should slide out containing a list of recently edited thoughts.
Requirements
setCursor
)./A/B/C/D/E
may be rendered asA • B • ... • E
.a • b • c
should removea • b • c
from the list and adda • b
to the top.lastUpdated
from most to least recently edited.sync
)./A/B/C/D
and/A/B/X/Y
share the subcontext/A/B
, so only a single entry/A/B
should appear in the recently edited list./A/B/C/D
and/A/W/X/Y
do not share a common majority subcontext, since the shared subcontext/A
has only one component thought while/A/B/C/D
has four component thoughts....
) to keep them roughly on one line.The text was updated successfully, but these errors were encountered: