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

1094 list view in new UI #1286

Merged
merged 9 commits into from
Jan 11, 2024
Merged

1094 list view in new UI #1286

merged 9 commits into from
Jan 11, 2024

Conversation

SebiWrn
Copy link
Contributor

@SebiWrn SebiWrn commented Dec 29, 2023

Motivation and Context

Adds a List View to the course view.

Description

You can now switch between the thumbnail and list view in the course page.

Steps for Testing

Prerequisites:

  • 1 Account
  • 1 course with multiple lectures
  1. Log in
  2. Navigate to a Course
  3. Switch to list view

Screenshots

Default View:
image

List View:
image

SebiWrn and others added 5 commits December 27, 2023 17:20
* added boolean to commandBuild and lowered probesize a bit to see if it works now

* Removed checks for isSelfStream because not used

* Removed deprecated for isSelfStream

* Set isSelfStream to true for selfstreams

* added boolean to commandBuild and lowered probesize a bit to see if it works now

---------

Co-authored-by: Dawin Yurtseven <[email protected]>
* popup chat close on esc added.

* Update popup-chat.gohtml

---------

Co-authored-by: Sebastian <[email protected]>
@SebiWrn SebiWrn linked an issue Dec 29, 2023 that may be closed by this pull request
Copy link

Your Testserver will be ready at https://1286.test.live.mm.rbg.tum.de in a few minutes.

Logins
Kurs1 Kurs2 Kurs3 Kurs4
public public loggedin enrolled
prof1 prof1 prof2 prof1
prof2
student1
student2
student3
student1
student2
student2
student3
student1
student2

Copy link
Contributor Author

@SebiWrn SebiWrn left a comment

Choose a reason for hiding this comment

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

Somehow previous commits are also in this PR, but only really changed files are home.gohtml and course.ts, everything else is already merged into dev

@SebiWrn SebiWrn self-assigned this Dec 29, 2023
@SebiWrn SebiWrn enabled auto-merge (squash) January 9, 2024 19:53
@YiranDuan721
Copy link
Contributor

Currently, the status of whether the list view is displayed is reset when the page is accessed again. I would prefer it to be preserved like the other options. I can see that the state "listView" is indeed preserved in the browser's local storage, but it doesn't look like it's being restored properly when the page loads or reloads.

@SebiWrn
Copy link
Contributor Author

SebiWrn commented Jan 11, 2024

Thank you for your feedback, problem should be fixed now :)

SebiWrn and others added 2 commits January 11, 2024 15:24
changed if else writing style
@SebiWrn SebiWrn disabled auto-merge January 11, 2024 14:37
Copy link
Contributor

@DawinYurtseven DawinYurtseven 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!

@DawinYurtseven DawinYurtseven merged commit c82b58b into dev Jan 11, 2024
8 checks passed
@DawinYurtseven DawinYurtseven deleted the 1094-list-view-in-new-ui branch January 11, 2024 14:44
SebiWrn added a commit that referenced this pull request May 7, 2024
* Added list view -> not finished yet

* Enh/transcoding issues (#1283)

* added boolean to commandBuild and lowered probesize a bit to see if it works now

* Removed checks for isSelfStream because not used

* Removed deprecated for isSelfStream

* Set isSelfStream to true for selfstreams

* added boolean to commandBuild and lowered probesize a bit to see if it works now

---------

Co-authored-by: Dawin Yurtseven <[email protected]>

* popup chat close on esc added. (#1281)

* popup chat close on esc added.

* Update popup-chat.gohtml

---------

Co-authored-by: Sebastian <[email protected]>

* Set GIN to only log above level 400 (#1271)

* Show worker version on worker dashboard (#1285)

* Updated storage

* Lint fix

* Update course.ts

changed if else writing style

* Lint fix

---------

Co-authored-by: Dawin Yurtseven <[email protected]>
Co-authored-by: barisgul15 <[email protected]>
Co-authored-by: Dawin <[email protected]>
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.

List View in new UI
4 participants