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] Optimize UI #3

Merged
merged 6 commits into from
Jan 14, 2024
Merged

[Feat] Optimize UI #3

merged 6 commits into from
Jan 14, 2024

Conversation

Hyeon-Uk
Copy link
Owner

@Hyeon-Uk Hyeon-Uk commented Jan 14, 2024

related : #1

Change layout and embed console view.

  • [Before] We can't debug easier with text area.
    image
  • [After] We can debug with console.
    image

Extract main view code in myWindowFactory

  • According to Object Oriented Programming Principles, window factory doesn't have any responsibility about designing main view.

Remove MyTestListPanel's singleton pattern

The components appear immediately.

  • [Before]
    before_optimization-ezgif com-video-to-gif-converter

  • [After]
    after_optimization-ezgif com-video-to-gif-converter

Implement vertical layout

  • [Before] Layout is always setted horizontal layout.
    image

  • [After] Layout setting according to the position of the toolWindow
    image

- you can receive components that match the name and class type that you handed over to the param

- complete test code

Signed-off-by: Hyeon-Uk <[email protected]>
- TextArea can't embed hyperlink. but console view can do that.
- User can experience debugging in console environments
- Layout had been changed.

Signed-off-by: Hyeon-Uk <[email protected]>
- MyTestListPanel is used globally through multiple files.
- So we need the way to handle this component easily
- I think, using component manager is better then  singleton pattern because singleton can't remove own object and can waste memories.

Signed-off-by: Hyeon-Uk <[email protected]>
- I think ToolWindowFactory doesn't have any responsbility about designing main view.
- So, I had extracted this mainView class.
- MyTestListPanel is always created by MyMainView. so, in my opinion, protected is more appropriate than public.

Signed-off-by: Hyeon-Uk <[email protected]>
@Hyeon-Uk Hyeon-Uk added the Refactor Refactoring for good code, function, or design label Jan 14, 2024
@Hyeon-Uk Hyeon-Uk self-assigned this Jan 14, 2024
- implements layout according to the position of the toolWindow.
- refactoring codes.
@Hyeon-Uk Hyeon-Uk changed the title Refactor/optimize UI [Feat] Optimization UI Jan 14, 2024
@Hyeon-Uk Hyeon-Uk changed the title [Feat] Optimization UI [Feat] Optimize UI Jan 14, 2024
@Hyeon-Uk Hyeon-Uk merged commit 89afe76 into develop/v1.0.2 Jan 14, 2024
@Hyeon-Uk Hyeon-Uk deleted the refactor/optimize-ui branch January 14, 2024 17:28
@Hyeon-Uk Hyeon-Uk linked an issue Jan 14, 2024 that may be closed by this pull request
@Hyeon-Uk Hyeon-Uk restored the refactor/optimize-ui branch January 14, 2024 18:04
Hyeon-Uk added a commit that referenced this pull request Jan 14, 2024
- Disable closing `support window`
- Layout setting according to the position of the toolWindow
- Embed console view on `Result Area`
- Refactoring for Clean Code and Object-oriented Coding

Signed-off-by: Hyeon-Uk <[email protected]>
@Hyeon-Uk Hyeon-Uk mentioned this pull request Jan 16, 2024
Hyeon-Uk added a commit that referenced this pull request Jan 16, 2024
* [Feat] Optimize UI (#3)

- Disable closing `support window`
- Layout setting according to the position of the toolWindow
- Embed console view on `Result Area`
- Refactoring for Clean Code and Object-oriented Coding

* [Fix] Verification error (#5)

Fixed an error that failed verification due to carriage return characters by deleting all carriage return characters.

Signed-off-by: Hyeon-Uk <[email protected]>
@Hyeon-Uk Hyeon-Uk mentioned this pull request Jan 16, 2024
Hyeon-Uk added a commit that referenced this pull request Jan 16, 2024
* [Feat] Optimize UI (#3)

- Disable closing `support window`
- Layout setting according to the position of the toolWindow
- Embed console view on `Result Area`
- Refactoring for Clean Code and Object-oriented Coding

* [Fix] Verification error (#5)

Fixed an error that failed verification due to carriage return characters by deleting all carriage return characters.

Signed-off-by: Hyeon-Uk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Refactoring for good code, function, or design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Necessity of UI Rendering Optimization
1 participant