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

Drawer component demo overhaul #107

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Drawer component demo overhaul #107

wants to merge 5 commits into from

Conversation

laurenic0l
Copy link
Contributor

  • 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
@@ -32,85 +25,77 @@
@FrameTitle("Drawer Welcome App")
Copy link
Member

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:

https://bbj-plugins.github.io/BBjDrawer/#/

Copy link
Member

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

Copy link
Member

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.

- 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
@laurenic0l laurenic0l requested a review from hyyan December 3, 2024 23:34
Copy link
Member

@hyyan hyyan left a 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.

- 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
@laurenic0l laurenic0l requested a review from hyyan December 6, 2024 05:17
Copy link

sonarqubecloud bot commented Dec 6, 2024

demo.setDrawerPlacement(DrawerPlacement.LEFT);

// Drawer's logo container and logo
Div drawerLogo = new Div();
Copy link
Member

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")
Copy link
Member

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.

@hyyan hyyan self-requested a review December 6, 2024 11:20
@hyyan
Copy link
Member

hyyan commented Dec 6, 2024

@laurenic0l Please also get these issues fixed

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.

3 participants