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

Yujian/home view tag list #104

Merged
merged 7 commits into from Sep 27, 2021
Merged

Yujian/home view tag list #104

merged 7 commits into from Sep 27, 2021

Conversation

oldbugo
Copy link
Collaborator

@oldbugo oldbugo commented Sep 24, 2021

added tag list view in home with scrolling function, along with tagQuery consumption to filter the cards.

closes #85 and #86

</div>
<button type='button' onClick={() => console.log(tagQuery.map((tag) => tag.id))}>check tag</button>
<button type='button' onClick={() => scroll(-200)}> scroll left </button>
<button type='button' onClick={() => scroll(200)}> scroll right </button>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Clicking on tags functions as intended. Good stuff. I just noticed a few things with usability and found out it could do with the layout.


image
Clicking these buttons also clicked the cards below. This may be unintentional.

image

Might wish to try this separation to aid the browser sort the components a la Box Model. And also the ordering of buttons allows left to right arrangement (unless we would use grid-areas to make it left-right independent)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for the feedback. I will make changes to the button position so that they are placed on either side of the tag list. As for the first issue, I think I will tackle that on the visual styling issue #56

@chomosuke chomosuke added the enhancement New feature or request label Sep 25, 2021
@chomosuke chomosuke added this to In progress in Sprint 2 via automation Sep 25, 2021
@chomosuke chomosuke added this to Sprint 2 in Product backlog via automation Sep 25, 2021
@chomosuke chomosuke added this to the Sprint 2 milestone Sep 25, 2021
Copy link
Collaborator

@waltervan00 waltervan00 left a comment

Choose a reason for hiding this comment

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

Nice work. The buttons don't overlap with neither cards nor card Detail.

Copy link
Collaborator

@shangzhel shangzhel left a comment

Choose a reason for hiding this comment

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

Good enough for now.

@chomosuke chomosuke self-requested a review September 26, 2021 06:54
Copy link
Owner

@chomosuke chomosuke left a comment

Choose a reason for hiding this comment

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

Actually shouldn't cards scroll independently from tags?

like i think tagList should always be on top even if we scroll cards

Sprint 2 automation moved this from In progress to In review Sep 26, 2021
@oldbugo
Copy link
Collaborator Author

oldbugo commented Sep 26, 2021

Actually shouldn't cards scroll independently from tags?

like i think tagList should always be on top even if we scroll cards

oh as in you think the tagList should always stay at the top of the home view even when we scroll down on the cards section?

@chomosuke
Copy link
Owner

Actually shouldn't cards scroll independently from tags?
like i think tagList should always be on top even if we scroll cards

oh as in you think the tagList should always stay at the top of the home view even when we scroll down on the cards section?

yeah i was under the impression that that was the decision being made.

@oldbugo
Copy link
Collaborator Author

oldbugo commented Sep 26, 2021

Actually shouldn't cards scroll independently from tags?
like i think tagList should always be on top even if we scroll cards

oh as in you think the tagList should always stay at the top of the home view even when we scroll down on the cards section?

yeah i was under the impression that that was the decision being made.

I'm not too sure, but regardless I think I want leave this to the visual styling issue #56

@chomosuke chomosuke self-requested a review September 26, 2021 07:49
@chomosuke
Copy link
Owner

Actually shouldn't cards scroll independently from tags?
like i think tagList should always be on top even if we scroll cards

oh as in you think the tagList should always stay at the top of the home view even when we scroll down on the cards section?

yeah i was under the impression that that was the decision being made.

I'm not too sure, but regardless I think I want leave this to the visual styling issue #56

there's also the extremely fancy way of, letting the taglist appear whenever user scroll down.

@oldbugo
Copy link
Collaborator Author

oldbugo commented Sep 26, 2021

Actually shouldn't cards scroll independently from tags?
like i think tagList should always be on top even if we scroll cards

oh as in you think the tagList should always stay at the top of the home view even when we scroll down on the cards section?

yeah i was under the impression that that was the decision being made.

I'm not too sure, but regardless I think I want leave this to the visual styling issue #56

there's also the extremely fancy way of, letting the taglist appear whenever user scroll down.

I like the way you think, this will be a worthy challenge once the fundamentals of the visual styles are all set

@chomosuke chomosuke linked an issue Sep 26, 2021 that may be closed by this pull request
@oldbugo oldbugo merged commit 7e26f01 into master Sep 27, 2021
Sprint 2 automation moved this from In review to Done Sep 27, 2021
Product backlog automation moved this from Sprint 2 to Sprint 2 Done Sep 27, 2021
@oldbugo oldbugo deleted the yujian/homeView-tagList branch September 27, 2021 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Product backlog
  
Sprint 2 Done
Sprint 2
  
Done
Development

Successfully merging this pull request may close these issues.

Home view tag list component Update home view to consume tag query
4 participants