-
Notifications
You must be signed in to change notification settings - Fork 29
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: UI Extensibility #445
base: main
Are you sure you want to change the base?
Conversation
- fix swc overlays - add top nav bar - add light/dark theming - add preact to componentize new features - fix toast usage guidance - modularize document loading - modularize import functionality - add contextual help - minor UI improvements to match Spectrum guidelines and branding
grid-template-rows: 1fr; | ||
body.loading { | ||
display: none; | ||
} |
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.
Is this an initializing
maybe? We may load things later at runtime and need spinners, or something.
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.
Yes - swc
is now being loaded asynchronously so we need to wait for the loading to complete to avoid seeing font/styling changes. Since swc is local the async load is fast so adding a spinner would be a distraction.
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.
Right.
I meant could we call the class "initializing" so when we are loading something later (report, file, scripts, loading something from S3 someday, whatever), we won't get collisions with the 'loading' class.
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.
Oh, you're worried about the loading
class name? I guess I could change it to hidden
since that is what we're actually doing.
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.
We can still have a different behaviour for the loading
class when it is applied to different elements. When body
has a loading
class we hid all the content. When a div
has a loading
class we could display a spinner. The behaviour of the class should be based on where it is used on not what its name is.
But, I can change the class name to hidden
if you think that is more semantically correct.
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.
Lots small changes in that are hard to absorb - lots of styling changes and I trust it all looks good (thanks for the screenshot). Everything I see looks good. 👍
- minor review changes
@arumsey, I've been testing the changes locally and everything so far is working as before |
- fix `toggleReportButton` logic
@catalan-adobe The |
# Conflicts: # js/dist/helix-importer.js
- re-build `helix-importer`
- minor top nav fixes
@catalan-adobe When you have a chance can you review agian please? |
@arumsey, I just checked the "download report button" again and the UI issue is fixed but clicking it does not do anything. Report is not being downloaded (I checked the web console, no specific error messages there). |
- fix download report action
@catalan-adobe Shoot! The |
# Conflicts: # js/dist/helix-importer.js # package-lock.json
- re-build after merging from main
- re-build after merging from main
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.
@atopper , download report works now! PR LGTM!
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 ran it and sent a few observations to you directly. "Download" button in Bulk mode is the only issue in my opinion.
- add border to preview frame - fix Code Mirror theming
@atopper All of your issues should be resolved now. |
# Conflicts: # js/dist/helix-importer.js
- rebuild helix-importer
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.
👍
Description
Related Issue
Fixes #446
Motivation and Context
The roadmap for the AEM Importer includes adding advancements in the Importer to reduce onboarding time and effort. The motivation for changes in this PR are to provide a framework for future feature development and ensure the code remains maintainable.
How Has This Been Tested?
Screenshots:
Existing
New
Light theme
Types of changes
Checklist: