#335-empty-card #400

Closed
b23albst wants to merge 4 commits from #335-empty-card into team_2_week_2
Collaborator

Added the empty view with dropdown for selecting what view it should be.

It utilizes a function called replaceView that is implemented in Dashboard.js Is this the correct place to implement this function? I placed it there since it uses the setLayout function in Dashboard, but this could in theory be sent to the empty card as a parameter.

Also, the getView function could possibly be implemented in a nicer way...

Added the empty view with dropdown for selecting what view it should be. It utilizes a function called replaceView that is implemented in Dashboard.js Is this the correct place to implement this function? I placed it there since it uses the setLayout function in Dashboard, but this could in theory be sent to the empty card as a parameter. Also, the getView function could possibly be implemented in a nicer way...
Collaborator

I have reviewed all relevant files such as Dashboard.js and EmptyView.js. I have also verified that everything is implemented acording to the issue.

I have tested the implementation by going to the application and selecting the EmptyView. It renders correctly and when another view is selected in the empty view it is correctly replaced.

This is working correctly and can be merged.

I have reviewed all relevant files such as Dashboard.js and EmptyView.js. I have also verified that everything is implemented acording to the issue. I have tested the implementation by going to the application and selecting the EmptyView. It renders correctly and when another view is selected in the empty view it is correctly replaced. This is working correctly and can be merged.
Collaborator

On the note of getView and setView in Dashboard.js and EmptyView.js, they can be implemented in a better way, I think this has been fixed in a newer version of code so there are probably some merge conflicts.

On the note of getView and setView in Dashboard.js and EmptyView.js, they can be implemented in a better way, I think this has been fixed in a newer version of code so there are probably some merge conflicts.
Resolved merge conflicts. Rewrote EmptyView to work with viewRegister instead of if/else chain. EmptyView now passes view names as strings instead of component instances.
Collaborator

Merge conflict fixed and made changes as per reviewers suggestions.

Merge conflict fixed and made changes as per reviewers suggestions.
Collaborator

We will wait with this until after customer meeting, will close now but might reopen later

We will wait with this until after customer meeting, will close now but might reopen later
a24vinla closed this pull request 2026-04-22 06:28:41 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!400
No description provided.