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

2807 admin layout tab update #985

Merged
merged 19 commits into from
Nov 9, 2021
Merged

Conversation

smitfire
Copy link
Contributor

@smitfire smitfire commented Nov 2, 2021

Fixes #

Description

Updated the project admin view to include a few more options. Permissions are now combined with settings (previously only accessible from projects list view).
Statistics and Querying is also now in a separate tab and does not follow an external link.
Studios, Workflow links are embedded in the tab layout but go to the original page via new browser tab.
Create upload moved to new tab, no changes to component.

How has this been tested?

Dev and local environment using the compositepoc org and all of the projects within it.
I have removed the banners from the query, stats, settings components because it is now redundant.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • [x ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added necessary unit and integration tests.
  • [ x] I have added screenshots (if applicable), in the comment section.

@codecov-commenter
Copy link

codecov-commenter commented Nov 3, 2021

Codecov Report

❗ No coverage uploaded for pull request base (1.7.0-M1@ea16f5e). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             1.7.0-M1     #985   +/-   ##
===========================================
  Coverage            ?   66.31%           
===========================================
  Files               ?       21           
  Lines               ?      576           
  Branches            ?      129           
===========================================
  Hits                ?      382           
  Misses              ?      194           
  Partials            ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea16f5e...694b02e. Read the comment docs.

dhaneshnm
dhaneshnm previously approved these changes Nov 3, 2021
Copy link
Contributor

@nicwells nicwells left a comment

Choose a reason for hiding this comment

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

There are a few issues picked up by Deep Scan. Also checking against acceptance criteria:

  • Deprecate project button not working so was not able to test acceptance criteria related to this
  • Settings button still showing in projects listing
  • Clicking on studios/workflows opens in new tab/window but then going back to previous view shows tab with no contents. Possible not to switch to the empty tab when clicked?

@@ -1,7 +1,7 @@
@import '../lib.less';

.project-banner {
background-color: fade(@header-background-color, 2.5%);
// background-color: fade(@header-background-color, 2.5%);
Copy link
Contributor

Choose a reason for hiding this comment

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

remove rather than comment out

<div className="project-menu__controls">
<Tabs defaultActiveKey="browse" tabPosition="left">
<TabPane tab="SparQL" key="browse">
<div style={{ flexGrow: 1 }}>
Copy link
Contributor

Choose a reason for hiding this comment

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

styles in separate less file? If copy/paste from elsewhere then can leave

@dhaneshnm dhaneshnm changed the base branch from main to 1.7.0-M1 November 8, 2021 13:05
@dhaneshnm dhaneshnm self-requested a review November 8, 2021 13:09
@smitfire
Copy link
Contributor Author

smitfire commented Nov 8, 2021

@nicwells removed settings button, likewise for deprecated. made the change for clicking studio or workflows

@dhaneshnm dhaneshnm removed the request for review from nicwells November 9, 2021 08:09
@dhaneshnm dhaneshnm dismissed nicwells’s stale review November 9, 2021 08:10

Changes have been adressed.

@dhaneshnm dhaneshnm merged commit d56d778 into 1.7.0-M1 Nov 9, 2021
@dhaneshnm dhaneshnm deleted the 2807-admin-layout-tab-update branch November 9, 2021 08:11
dhaneshnm pushed a commit that referenced this pull request Mar 11, 2022
Redesign Admin view for better usability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants