Skip to content
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

Deploy new styles to main #17

Merged
merged 72 commits into from
Oct 7, 2021
Merged

Deploy new styles to main #17

merged 72 commits into from
Oct 7, 2021

Conversation

ianconsolata
Copy link
Contributor

@ianconsolata ianconsolata commented Oct 7, 2021

Just opening the PR, sounds like it's not ready to merge yet.

travis and others added 30 commits September 22, 2021 12:02
Got storybook up and running again and added buttons from Dylan's designs here:

https://app.zeplin.io/project/61327f6d0e26559ad2dce006/styleguide/components?coid=614815f025df846adc8b71c1

You can see storybook by running `npm run storybook`
Part of the new note component, from https://zpl.io/VxqZn3w
this required me to implement the search input
Add this in a story. We may want to push this down into the NewNote modal
Apparently slate nodes don't always have a type, even if they have
children. So just recursive if you find a child key even if there is no
type.
The whole library is very large. Eventually we should get rid of this,
and replace with our own SVG icons, but for now these are still needed
for the editor toolbars / bubble menus.
Only load the styled-icons libraries we need
if a user seems logged in but is unable to access the private workspace, automatically log them out. needs lots of testing
travis and others added 22 commits October 5, 2021 19:58
Better to clean this up soon, but I wanna ship!
still need to implement save
I spent a few hours trying to use Formik here, but the validation/save pattern is a little wonky thanks to all the hooks. Let's do this for now and fix later!
Port save logic to NewNote modal
Also realized that useCombinedConceptIndex no longer works as it relied on the assumption that a SolidDataset was an RDF dataset, which is no longer true!
@vercel
Copy link

vercel bot commented Oct 7, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mysilio/garden/DG5o9ifmWkVNB2kTVCuscSfC9wEb
✅ Preview: https://garden-git-staging.mysilio.page

travis added 3 commits October 6, 2021 23:25
Two problems:
1) and more seriously, when you hit the browser's "back" button the concept would change but the note body would not, so autosave would save the previous note's body to the concept you were looking at. Fix this by using a different editor ID for every note.
2) Empty notes were broken - not loading when you went directly to them, and saving the previous note's body if you clicked through from an existing note to one that didn't exist yet. Fix this and add a basic UI to let people create notes through this flow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants