-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Modified topic viewer page and few UI changes on topic editor page. #6455
Conversation
Hi, @aks681 that screenshot is from Mozilla Firefox browser. Are you using any other browser? |
Yeah, I was using Chrome 73 on Windows. |
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.
Generally no issues, just a few questions/nits. If @aks681 is happy with this PR then so am I :)
@@ -47,6 +47,9 @@ <h4 ng-if="topic.getCanonicalStoryIds().length === 0" style="color: gray;"> | |||
</div> | |||
|
|||
<style> | |||
.topic-editor textarea { | |||
resize:vertical; |
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.
add space after colon
/cc @oppia/dev-workflow-team this should be a lint check?
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.
Sorry for the delay.
Filed #6494.
Thanks.
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.
@anubhavsinha98, We have merged this PR without this fix and now the tests are failing in develop branch!
@@ -54,7 +54,7 @@ | |||
</li> | |||
<li ng-class="{'active': getActiveTabName() === 'main', 'uib-dropdown': getWarningsCount()}" ng-attr-uib-dropdown="<[getWarningsCount()]>" class="icon"> | |||
<a uib-tooltip="Main Editor" tooltip-placement="bottom" ng-click="selectMainTab()"> | |||
<i class="material-icons"></i> <span style="font-size: 0.8em;">Topic</span> | |||
<i class="material-icons"><span style="font-size: 0.9em;">T</span></i> |
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.
@@ -75,20 +75,21 @@ | |||
|
|||
<li ng-class="{'active': getActiveTabName() === 'subtopics'}" class="icon"> | |||
<a class="protractor-test-subtopics-tab-button" uib-tooltip="Subtopics Editor" tooltip-placement="bottom" ng-click="selectSubtopicsTab()"> | |||
<i class="material-icons"></i><span style="font-size: 0.7em;">Subtopics</span> | |||
<i class="material-icons"><span style="font-size: 0.9em;">S</span></i> |
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.
Ditto here and below.
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.
Done
@@ -90,7 +90,7 @@ | |||
stories-list div .oppia-topic-viewer-carousel { | |||
float: left; | |||
height: 430px; | |||
max-width: 1070px; | |||
max-width: 1420px; |
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.
This seems a little big. Does it work well on mobile?
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.
@anubhavsinha98 Can you confirm this?
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.
Yeah, I just checked it on mobile view it seems its failing. Will fix it and update the PR.
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.
@anubhavsinha98, are we expecting this to be fixed?
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.
I have fixed it and actually in mobile view we get a list of story tiles vertically. Akshay has added screenshot for it. i think it can help.
(Also, just to be clear, I was mainly looking at this from a code perspective. @aks681 can speak more as to the intended UI.) |
Hi, @aks681 I have fixed the tab issue which was not extending earlier. |
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.
LGTM!
Can you reply to the one comment about mobile view? Other than that, looks good.
Hi @anubhavsinha98, I'm going to mark this PR as stale because it hasn't had any updates for 10 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue. |
Hi @aks681 corrected the mobile view. PTAL Thanks! |
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.
Hi @aks681 made the changes. PTAL Thanks! |
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.
LGTM
Added 4 tiles display for story & few UI changes for Topic Editor page.
Explanation
Checklist
python scripts/pre_commit_linter.py
andbash scripts/run_frontend_tests.sh
.