Skip to content

changes folder for a note from the note's breadcrumbs#348

Closed
pfftdammitchris wants to merge 2 commits intoBoostIO:masterfrom
pfftdammitchris:master
Closed

changes folder for a note from the note's breadcrumbs#348
pfftdammitchris wants to merge 2 commits intoBoostIO:masterfrom
pfftdammitchris:master

Conversation

@pfftdammitchris
Copy link
Copy Markdown
Contributor

@pfftdammitchris pfftdammitchris commented Feb 13, 2020

fixes #347

before this pull request when we click on the storage name, it changes the mode to "All Notes" but they can already do that themselves by clicking that on the left side. so this pull request proposes a useful alternative to replace the note's storage from a dropdown menu instead

issue347pullrequest

…licking on the storage

- Replaced the render block with the ts-ignore with a more type safety implementation
- Fixed dropdown menu not closing when clicking on the name of the storage again
@pfftdammitchris
Copy link
Copy Markdown
Contributor Author

pfftdammitchris commented Feb 14, 2020

also, some of the smaller components throughout these molecules should be abstracted out into separate components and/or memoized because they're being re-rendered

look at the image below where i click on certain components. the whole app repaints itself everytime. its causing spikes

rerenders

should i optimize them and make pull requests?

edit: also if we abstract some of these components out i can make the dropdown more robust but i didn't want to go too far ahead without mentioning this first

@Rokt33r
Copy link
Copy Markdown
Member

Rokt33r commented Feb 21, 2020

no, not in here. It should be presented as a separated pr! I'm going to deal with the problem but I still didn't start it yet. If you want to fix it, you can just go ahead now.

@Rokt33r
Copy link
Copy Markdown
Member

Rokt33r commented Feb 21, 2020

The code looks good to me but I'm a bit skeptical to accept this suggestion. I think we should discuss about this more in the original issue.

@Rokt33r
Copy link
Copy Markdown
Member

Rokt33r commented Feb 21, 2020

I'll close this for now. Let's reopen it after we find we want this again.

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.

Change the storage folder for a note

2 participants