Skip to content

Added userslist page and userdetail page.#23

Open
ZhangYihanNus wants to merge 5 commits intoMaxPoon:masterfrom
ZhangYihanNus:namelist
Open

Added userslist page and userdetail page.#23
ZhangYihanNus wants to merge 5 commits intoMaxPoon:masterfrom
ZhangYihanNus:namelist

Conversation

@ZhangYihanNus
Copy link
Collaborator

@ZhangYihanNus ZhangYihanNus commented Oct 19, 2019

Able to access userslist page from homepage "view teammates" button.
Able to further access detail information of each teammate by clicking on them and entering userdetail page.
Url of users' info in GET request needs to be confirmed.

@ZhangYihanNus ZhangYihanNus changed the title Added userslist page. Added userslist page and userdetail page. Oct 19, 2019
Copy link
Owner

@MaxPoon MaxPoon left a comment

Choose a reason for hiding this comment

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

Can you add some screenshots in the description?

/**
* Jump to userlist page
*/
JumpToUserslist: function () {
Copy link
Owner

Choose a reason for hiding this comment

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

nit: the name should be either users or user list, not users list. and the "L" in "list" should be capitalized.

// console.log('complete qcloud.request for getting userinfo');
// }
// });
qcloud.request({
Copy link
Owner

Choose a reason for hiding this comment

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

why do we comment out the block above and write this new block of code?

const trainingTableName = "Training";

async function get(ctx) {
var memory = await mysql(trainingTableName).orderBy('UpdatedTime', 'desc').select('*').limit(10);
Copy link
Owner

Choose a reason for hiding this comment

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

Can we rename the variable and the file as "trainings"? It's not clear what "memory" means.

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