-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C# Unit Tests75 tests 75 ✅ 6s ⏱️ Results for commit ed0a4cf. ♻️ This comment has been updated with latest results. |
926410a
to
b32b327
Compare
b32b327
to
5dda76f
Compare
hahn-kev
requested changes
Oct 15, 2024
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.
looks good, I left 1 request and 1 comment.
use the version from the assembly as the feedback version
pushed my own change to modify the version being used when reporting feedback |
Merged
hahn-kev
previously approved these changes
Oct 16, 2024
hahn-kev
previously approved these changes
Oct 16, 2024
…and-about-to-viewer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add's the feedback button to the viewer as well as an about button + dialog.
![image](https://private-user-images.githubusercontent.com/12587509/375426117-3684e0d7-6eff-458b-95a2-290ca84e0808.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4ODQ0MTUsIm5iZiI6MTczODg4NDExNSwicGF0aCI6Ii8xMjU4NzUwOS8zNzU0MjYxMTctMzY4NGUwZDctNmVmZi00NThiLTk1YTItMjkwY2E4NGUwODA4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDIzMjE1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEzMWY2MzIxMzMzZWE5YmMzNDlmODY2MzI5NzM0NTk0YzgxZTA2YTkyY2MxOTVkYWE4NmM3ZjM3ZGVmNTY0ODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.uK8EG6EIHTCz-GoSfMSHngKohphqqLyXhcrrJDvRwFw)
The dialog appears automatically on a user's first visit to the viewer.
![image](https://private-user-images.githubusercontent.com/12587509/375427179-34099a5d-8145-400f-bbc6-20ae5409685e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4ODQ0MTUsIm5iZiI6MTczODg4NDExNSwicGF0aCI6Ii8xMjU4NzUwOS8zNzU0MjcxNzktMzQwOTlhNWQtODE0NS00MDBmLWJiYzYtMjBhZTU0MDk2ODVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDIzMjE1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBhZjAxYWRjNzk4NTc0ZjZhNDM1NmYyMDM4NzRlOTdhYmU0M2JlMTU0OWUyYWFjMzc3ZGE1N2EyNzM0NWUwNTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.gRr42GOtQfIR0Mu9rw6YF5q9qsSnXIoiMopNuC7or1g)
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