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

[Feat] Add feedback and about to viewer #1115

Merged
merged 7 commits into from
Oct 16, 2024

Conversation

myieye
Copy link
Contributor

@myieye myieye commented Oct 10, 2024

Add's the feedback button to the viewer as well as an about button + dialog.
image

The dialog appears automatically on a user's first visit to the viewer.
image

Then there's a funky commit: b725184
We're currently embedding global styles (e.g. tailwind and any other global styles) in a <style global> element in the root component. Unfortunately, it seems that Svelte's preprocessing is pretty fragile when it comes to using global styles. So, that approach has forced me to use various workarounds (a funky style rewrite hack to get some dark-mode styles to work, splitting up style declarations, making more styles global than actually desired) and finally it totally blocked me from using the tailwind typography plugin.
So, this commit tries another approach that's at least equally as funky, BUT it works 🤷. And remember, this is only the viewer 😉, so it's the only thing using this weird approach where as FWL doesn't use anything funky AND now benefits from not having to write styles in a way that makes global happy.

FYI The viewer is currently broken and being fixed in #1105

Copy link

github-actions bot commented Oct 10, 2024

UI unit Tests

12 tests  ±0   12 ✅ ±0   0s ⏱️ ±0s
 4 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit ed0a4cf. ± Comparison against base commit c68820f.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Oct 10, 2024

C# Unit Tests

75 tests   75 ✅  6s ⏱️
13 suites   0 💤
 1 files     0 ❌

Results for commit ed0a4cf.

♻️ This comment has been updated with latest results.

@myieye myieye mentioned this pull request Oct 10, 2024
@myieye myieye force-pushed the feat/add-feedback-and-about-to-viewer branch from 926410a to b32b327 Compare October 11, 2024 09:44
@myieye myieye force-pushed the feat/add-feedback-and-about-to-viewer branch from b32b327 to 5dda76f Compare October 11, 2024 11:03
Copy link
Collaborator

@hahn-kev hahn-kev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, I left 1 request and 1 comment.

use the version from the assembly as the feedback version
@hahn-kev
Copy link
Collaborator

pushed my own change to modify the version being used when reporting feedback

@myieye myieye mentioned this pull request Oct 15, 2024
hahn-kev
hahn-kev previously approved these changes Oct 16, 2024
hahn-kev
hahn-kev previously approved these changes Oct 16, 2024
@hahn-kev hahn-kev merged commit 37a6fdf into develop Oct 16, 2024
18 checks passed
@hahn-kev hahn-kev deleted the feat/add-feedback-and-about-to-viewer branch October 16, 2024 08:47
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