-
Notifications
You must be signed in to change notification settings - Fork 4
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
Drawer component demo overhaul #107
base: main
Are you sure you want to change the base?
Conversation
laurenic0l
commented
Nov 25, 2024
- demos now reflect best practices
- renamed drawerdemoview.java to drawerview.java
- renamed drawerDemo.css to drawerAutoFocus.css
- reflect best practices - renamed drawerdemoview.java to drawerview.java - renamed drawerDemo.css to drawerAutoFocus.css
src/main/java/com/webforj/samples/views/drawer/DrawerAutoFocusView.java
Outdated
Show resolved
Hide resolved
@@ -32,85 +25,77 @@ | |||
@FrameTitle("Drawer Welcome App") |
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.
Revise this demo to align with the style of the demo found here:
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.
@laurenic0l Use the same image instead in here of the webforj logo
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.
@laurenic0l For this demo, it should look identical to the one shown here, except for the logo in the sidebar. Also, ensure that the new toolbar component is used.
src/main/java/com/webforj/samples/views/drawer/DrawerWelcomeView.java
Outdated
Show resolved
Hide resolved
- Improved design and layout for the DrawerWelcomeView, including responsive styling and better content alignment. - Updated DrawerPlacementView with vertical radio button placement and functionality to toggle drawer placement dynamically. - All other changes requested to the demos were made
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.
@laurenic0l I really like the TaskManager idea. It looks great overall. I’ve asked for a few minor adjustments.
src/main/java/com/webforj/samples/views/drawer/DrawerAutoFocusView.java
Outdated
Show resolved
Hide resolved
src/main/java/com/webforj/samples/views/drawer/DrawerAutoFocusView.java
Outdated
Show resolved
Hide resolved
src/main/java/com/webforj/samples/views/drawer/DrawerAutoFocusView.java
Outdated
Show resolved
Hide resolved
- created class fields for getBoundComponent()s - changed divs to flexlayout - when checkbox is clicked the label is striked through in drawerview - moved css to java class keeping only what is needed
Quality Gate passedIssues Measures |
demo.setDrawerPlacement(DrawerPlacement.LEFT); | ||
|
||
// Drawer's logo container and logo | ||
Div drawerLogo = new Div(); |
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.
Use Toolbar component
@@ -32,85 +25,77 @@ | |||
@FrameTitle("Drawer Welcome App") |
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.
@laurenic0l For this demo, it should look identical to the one shown here, except for the logo in the sidebar. Also, ensure that the new toolbar component is used.
@laurenic0l Please also get these issues fixed |