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

[RM-1003] View details of a list #10

Merged
merged 4 commits into from
Jul 16, 2021
Merged

Conversation

vxduc9999
Copy link
Owner

Each list should be on a separate dynamic URL based on its id.
We view the details of a list in the right area, including list name,
the number of its tasks, all tasks belonging to this list.

@vxduc9999 vxduc9999 force-pushed the 1003-view-details-of-a-list branch 2 times, most recently from b087c28 to ec73f14 Compare July 9, 2021 04:16
@vxduc9999 vxduc9999 changed the title View details of a list [RM-1003] View details of a list Jul 9, 2021
@vxduc9999 vxduc9999 force-pushed the 1003-view-details-of-a-list branch from a9f24cd to 1e608d7 Compare July 9, 2021 10:03
@vxduc9999 vxduc9999 force-pushed the 1003-view-details-of-a-list branch from 0f31ae5 to 0336952 Compare July 11, 2021 09:07
Copy link
Collaborator

@phuphamphong97 phuphamphong97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check my comments below.

src/router/index.js Outdated Show resolved Hide resolved
src/router/index.js Outdated Show resolved Hide resolved
src/router/index.js Outdated Show resolved Hide resolved
],
},
{
path: "/404",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PageNotFound should appear whenever the URL doesn't match any of the exact URLs in our routes.

Suggested change
path: "/404",
path: "*",

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the incorrect suggestion above as it may lead to an unexpected error when clicking on a newly created list. Please revert the change and refer to this guide if needed.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, Updated!

src/components/ListDetails/ListSummary.vue Outdated Show resolved Hide resolved
src/components/ListDetails/ListSummary.vue Outdated Show resolved Hide resolved
src/components/ListDetails/ListTask.vue Outdated Show resolved Hide resolved
src/components/ListDetails/ListTask.vue Outdated Show resolved Hide resolved
Copy link
Collaborator

@phuphamphong97 phuphamphong97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!
Please check my last comment, squash the fixups then you can get the PR merged without further review.

@vxduc9999 vxduc9999 force-pushed the 1003-view-details-of-a-list branch from a545edd to 2f4be57 Compare July 16, 2021 03:38
I add a new page not found because maybe the url is not valid

I create dynamic url base on list id and check
if it exists in list data then pass to url, otherwise return page not found

I modified the list name of the personal list to a link
in preparation to view the listing details

References: RM-1003
I updated the UI for the add list button to be better.

In the list summary I take the list name and count all the tasks
to show and update UI

References: RM-1003
I create a list task component to display a task from list tasks.
I modified the css for better UI list task

I create new list as priorities and modify priority for all tasks
in mock data to show the priority of the task

References: RM-1003
After finishing the details of a list in the right area but the UI
is not good then I need to fix some css in the right area
to show the list details better

The selected list in the personal list is not selected after the page refresh
so i check if being show lists details then set checked

References: RM-1003
@vxduc9999 vxduc9999 force-pushed the 1003-view-details-of-a-list branch from 2f4be57 to b703b2b Compare July 16, 2021 03:42
@vxduc9999 vxduc9999 merged commit d0bf402 into master Jul 16, 2021
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.

2 participants