Code Monkey home page Code Monkey logo

switcher-management's Introduction


Switcher Management

Master CI Known Vulnerabilities License: MIT Docker Hub Slack: Switcher-HQ


Switcher API Management: Cloud-based Feature Flag API

About

Switcher Management is a complete GUI to manage Switcher API

Cloud Hosted API

Sign up for a free account using our Cloud hosted API : cloud.switcherapi.com
Join us on Slack or Discussion Area if you have questions about your account.

switcher-management's People

Contributors

dependabot[bot] avatar petruki avatar snyk-bot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

roger-douglas

switcher-management's Issues

Change pagination dialog has layout issues when resizing

The pagination component is contracting when the pagination size is changed.
This happens because of the column style applied to the div wrapper.

Solution
Remove column definition won't interfere anymore with the pagination component.

Export domain snapshot

Implement export snapshot feature by invoking the graphq endpoint implemented on the API.

Include environment selection.

Responsive view of Comp. and Env. have issues

Edit and Remove controls need to be reworked when viewing in Mobile screens.

Possible solution:
Remove the layer and add icons
Change display layout that fits inside the component.

Detail panel is scrolling up and down when switching between strategies tab

Strategies are displayed below Switchers detail panel.
When switching between strategies, the content is scrolled up and down.

This behavior might be related to some oversized material component which is affected by the animation.

Solution:
Fix a min-height for the wrapper to accomodate the component properly.

refreshToken is not redirecting to login when it throws error

Switcher Management was designed to be accessible single auth. When attempting to login into two different browsers, the previous session should be invalidated. However, this previous session should be redirected to the login page when refreshing the token.

Solution
Clean session and redirect to the login page when session is invalidated by a newly created session.

Fix signup message when utilizing a not authorized access

Switcher Manager is still deployed in a showcase environment, thus its access must be controlled by granting manually.
When a not authorized access is detected, the API returns a 400 response and an error message displaying that it wasn't possible to complete the operation.

Solution:
Replace the message for the one coming from the API.

[Patch] Upgrade Angular from 11.1.0 to 11.1.2/1

  • Upgrade @angular/cdk from 11.1.1 to 11.1.2
  • Upgrade @angular/localize from 11.1.0 to 11.1.1
  • Upgrade libraries to 11.1.2
Name Versions Released on
@angular/animations
from 11.1.1 to 11.1.2
1 version ahead of your current version 22 days ago
on 2021-02-03
@angular/common
from 11.1.1 to 11.1.2
1 version ahead of your current version 22 days ago
on 2021-02-03
@angular/compiler
from 11.1.1 to 11.1.2
1 version ahead of your current version 22 days ago
on 2021-02-03
@angular/core
from 11.1.1 to 11.1.2
1 version ahead of your current version 22 days ago
on 2021-02-03
@angular/forms
from 11.1.1 to 11.1.2
1 version ahead of your current version 22 days ago
on 2021-02-03
@angular/platform-browser
from 11.1.1 to 11.1.2
1 version ahead of your current version 22 days ago
on 2021-02-03
@angular/platform-browser-dynamic
from 11.1.1 to 11.1.2
1 version ahead of your current version 22 days ago
on 2021-02-03
@angular/router
from 11.1.1 to 11.1.2
1 version ahead of your current version 22 days ago
on 2021-02-03
@angular/service-worker
from 11.0.9 to 11.1.2
10 versions ahead of your current version 22 days ago
on 2021-02-03

Metrics on Switcher detail panel should auyo load Switcher key

When navigating through Switcher metrics, after clicking on filter, it would be better if the Switcher key were displayed automatically.

It would make easier to change filter for the same key since this panel shows data about the visited Switcher.

Unauthorized access must be reworked

When a user doesn't have an access to a view or perform a specific action, the API is returning a 401 code.

Frontend must check the privileges first or the API must send an ok message without retuning data.

Security patch: Update angular/core from 9.1.13 to 11.0.5

Remarks.

This update will require a few fixes due to some changes on Angular>10.

  • Disabled polyfill: removed @angular/localize to fix a security breach.
  • Update chart.js from 2.9.3 to 2.9.4
  • Updated graphql-tag from 2.10.1 to 2.11.0
  • Update ngx-markdown from 9.0.0 to 11.0.1
  • Update @angular-devkit/build-angular from 0.901.7 to 0.1101.4
  • Update typescript from 3.6.5 to 4.0.6
  • Switched npm lock packaging by shrinkwrap to fix security issues on dependencies

Refreshing is causing 404

Although pages are loaded properly, refreshing them are causing 404.

Here are some attempts I did to fix it:

  • Including useHash worked but caused issues when the login/auth page was called by the callback from GitHub and Bitbucket app authorizing callback.
  • Change base-href from relative to non-relative had no effect

Domain Team View

Implement the domain team view underneath the dashboard for team mates access.

Team view has some issues

  • Fix create dialog icon buttons.
  • Fix edit/save controllers
  • Add toggle to activate/deactivate team inside detail view.
  • Fix layout on roles view while using lower resolution screen.

Sign Up/In component

Create a Sign Up component to authenticate new users

  • Via email
  • Via GitHub account
  • Add reCaptcha for signing up

Update Angular dependencies from 11.0.9 to 11.1.1

Update dev dependencies:
@angular/cli from 11.0.5 to 11.2.1
@angular/compiler-cli from 11.0.5 to 11.2.1
@angular/localize from 11.0.9 to 11.1.0

Update dependencies:

Name Versions Released on
@angular/animations
from 11.0.8 to 11.1.1
10 versions ahead of your current version 21 days ago
on 2021-01-27
@angular/common
from 11.0.9 to 11.1.1
9 versions ahead of your current version 21 days ago
on 2021-01-27
@angular/compiler
from 11.0.9 to 11.1.1
9 versions ahead of your current version 21 days ago
on 2021-01-27
@angular/core
from 11.0.9 to 11.1.1
9 versions ahead of your current version 21 days ago
on 2021-01-27
@angular/forms
from 11.0.9 to 11.1.1
9 versions ahead of your current version 21 days ago
on 2021-01-27
@angular/platform-browser
from 11.0.9 to 11.1.1
9 versions ahead of your current version 21 days ago
on 2021-01-27
@angular/platform-browser-dynamic
from 11.0.9 to 11.1.1
9 versions ahead of your current version 21 days ago
on 2021-01-27
@angular/router
from 11.0.9 to 11.1.1
9 versions ahead of your current version 21 days ago
on 2021-01-27
@angular/service-worker
from 11.0.9 to 11.1.1
9 versions ahead of your current version 21 days ago
on 2021-01-27

Metric Dialog Data has issues

Issue 1
Dialog title is being shown outside the screen.

Solution: Add word wrap or format output for the responsive view change.

Issue 2
Data table has the same issue as the dialog title.

Solution: Set table width or format columns to show a shortened viewed of the presented value.

Cannot update Role

After adding value to a Role, it is not possible anymore to remove the value and save the modification afterward.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.