-
Notifications
You must be signed in to change notification settings - Fork 226
Cards in My Channels #5345
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
Open
yeshwanth235
wants to merge
12
commits into
learningequality:unstable
Choose a base branch
from
yeshwanth235:issue-5227
base: unstable
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+731
−1
Open
Cards in My Channels #5345
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
15fe626
PRIC-5227
yeshwanth235 d890bf0
small change
yeshwanth235 a261d4a
Pushed few changes
yeshwanth235 c9a6038
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] 974db6e
lint fixes
yeshwanth235 df13356
Merge branch 'issue-5227' of https://github.com/yeshwanth235/studio i…
yeshwanth235 903e767
small change
yeshwanth235 cf35f0a
removed locale changes
yeshwanth235 476e7e0
removed RTL changes
yeshwanth235 842d979
updated to colors to KDS theme colors
yeshwanth235 c5026f4
removed css for icon-wrapper
yeshwanth235 ca4c1fe
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you remove
listType
prop and all related conditional logic fromStudioMyChannels
?StudioMyChannels
will always beEDITABLE
- so you can just assume it in that component. I've tried to say more in the issue, not sure if it's explained well - let me now if you had any questions.Otherwise, as we progress refactoring other tabs on the page,
StudioMyChannels
would end up as a monolithic component with lots of conditional logic and hard to maintain. The currentChannelList
suffers from this problem and I want us to avoid it in new components. We will take a different approach to re-use logic - I will outline the strategy in the upcoming issues.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need some clarification
So for starred and view-only pages. Are we going to use same component StudioMyChannels or it will be an new component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We won't use
StudioMyChannels
for starred and view-only pages. There will be another components, something likeStudioStarredChannels
andStudioViewOnlyChannels
.I know there's overlap in their logic, but we will use a different strategy to organize shared parts than currently - I will specify everything in detail in the upcoming issues :)