-
Notifications
You must be signed in to change notification settings - Fork 5
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
Change Log Types #60
Change Log Types #60
Conversation
Merge remote-tracking branch 'origin/fl-39-icons' into fl15-changelog-type
I can definitely add the "add type" dashed version to the log types and start out all new logs with that type, but all existing ones already have "added" set as their type - it is included in
Sure, I should be able to make it so that changing from "add type" to something else doesn't trigger an "edited" change.
Good catch! This is a bug - I intended for it to close the menu.
I'll investigate if we can add dynamic onclick functionality to the rest of the widget without it messing with the ability to click on things generally.
I'll have to include running through all other logs and setting their |
one other ordering change in the property menu if we can, let me know if you think this order feels better and visually looks better with all the blue highlights. Set Status | Name | Description | Version | Log Types | Branding |
I'm fine with changing the property menu order. I'll make that update as well! |
… changing from a type other than 'none'
Co-authored-by: Christy Presler <[email protected]>
const [showBranding, setShowBranding] = useSyncedState('showBradning', true); | ||
const [showBranding, setShowBranding] = useSyncedState('showBranding', true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does changing this, ugh my fat fingers, possibly introduce this setting breaking on older logs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so, did you try turning the branding on/off for the ones that you created from main
? It seemed fine on the ones I checked.
It is one of those things that I was actually confused was working in the first place because you correctly spelled the variable everywhere except that spot.
updateChange({ | ||
showTypeMenu: !changeLog.showTypeMenu, | ||
}) | ||
// hide all other log type menues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 I didn't think we were able to do this without perf issues, thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might have perf issues with a ton (~1000) logs since it loops through and sets state on each one, but there are probably other issues at that point anyhow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Added:
added
)showTypeMenu
added toChangeLog
type as an optional property to avoid breaking existing ChangeLogs that do not include itLog Types
toggle for showing/hiding types on all change logsTesting: