Skip to content

Commit

Permalink
minor visual updates to logo & menu
Browse files Browse the repository at this point in the history
linting
  • Loading branch information
tot-ra committed Oct 1, 2021
1 parent 9e90352 commit ff5bd35
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 26 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [2.0.0] - 2021-10-01

### Added

- New endpoint to hard-delete schemas of specific service
DELETE /schema/:schemaId
DELETE /schema/:schemaId

### Breaking Change

- Renamed endpoint that deactivates specific schema
Before:
DELETE /schema/delete/:schemaId
Before:
DELETE /schema/delete/:schemaId

After:
DELETE /schema/:schemaId
Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Graphql schema storage as dockerized on-premise service for federated graphql ga
## Installation

We have [docker image published](https://hub.docker.com/r/pipedrive/graphql-schema-registry) for main node service.

```
docker-compose up
```
Expand Down Expand Up @@ -143,6 +144,7 @@ DB_HOST=my-db-host DB_PORT=6000 npm run migrate-db
```

### Contribution

- Commit often (instead of making huge commits)
- Add verb at the beginning of commit message
- Add why you're doing something in commit message
Expand All @@ -151,9 +153,11 @@ DB_HOST=my-db-host DB_PORT=6000 npm run migrate-db
- Fill [CHANGELOG](CHANGELOG.md)

#### Authors and acknowledgment

Current maintainer - [@tot-ra](https://github.com/tot-ra). Mention in PR, if it is stuck

Original internal mission that resulted in this project going live:

- [aleksandergasna](https://github.com/aleksandergasna)
- [ErikSchults](https://github.com/ErikSchults)
- [LexSwed](https://github.com/LexSwed)
Expand Down Expand Up @@ -272,19 +276,19 @@ Deletes specified schema

##### Request params

| Property | Type | Comments |
| ------------------------- | ------- | ----------------------------------- |
| `schemaId` | number | ID of sechema |
| Property | Type | Comments |
| ---------- | ------ | ------------- |
| `schemaId` | number | ID of sechema |

#### DELETE /service/:name

Deletes specified service including all schemas registered for that service

##### Request params

| Property | Type | Comments |
| ------------------------- | ------- | ----------------------------------- |
| `name` | string | name of service |
| Property | Type | Comments |
| -------- | ------ | --------------- |
| `name` | string | name of service |

#### GET /persisted_query

Expand Down
4 changes: 1 addition & 3 deletions app/router/service.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const Joi = require('joi');
const {
deleteService
} = require('../controller/service');
const { deleteService } = require('../controller/service');

exports.delete = async (req, res) => {
const params = Joi.attempt(
Expand Down
2 changes: 1 addition & 1 deletion client/components/TopMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default ({ UITabs, selectedTab, handleChange }) => {
<AppBar
position="static"
color="primary"
style={{ backgroundColor: '#2b8223' }}
style={{ backgroundColor: 'green', boxShadow: 'none' }}
>
<Tabs
value={selectedTab}
Expand Down
26 changes: 13 additions & 13 deletions client/components/logo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default function Logo() {
<use
href="#aACFKWqId"
opacity="1"
fill="#ffffff"
fill="green"
fillOpacity="1"
></use>
</g>
Expand All @@ -168,7 +168,7 @@ export default function Logo() {
href="#abQRk6fPB"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="25"
strokeOpacity="1"
></use>
Expand All @@ -180,7 +180,7 @@ export default function Logo() {
href="#c43cxpRdDt"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="25"
strokeOpacity="1"
></use>
Expand All @@ -192,7 +192,7 @@ export default function Logo() {
href="#e1RwQ287qq"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="25"
strokeOpacity="1"
></use>
Expand All @@ -204,7 +204,7 @@ export default function Logo() {
href="#aOTTscD3s"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="25"
strokeOpacity="1"
></use>
Expand All @@ -216,7 +216,7 @@ export default function Logo() {
href="#a5hX0shUV9"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="30"
strokeOpacity="1"
></use>
Expand All @@ -228,7 +228,7 @@ export default function Logo() {
href="#f4aRsobM8F"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="25"
strokeOpacity="1"
></use>
Expand All @@ -240,7 +240,7 @@ export default function Logo() {
href="#d4df3gG5KI"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="25"
strokeOpacity="1"
></use>
Expand All @@ -252,7 +252,7 @@ export default function Logo() {
href="#a3f1xiOUe"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="30"
strokeOpacity="1"
></use>
Expand All @@ -264,7 +264,7 @@ export default function Logo() {
href="#j2kppAtKaC"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="30"
strokeOpacity="1"
></use>
Expand All @@ -276,7 +276,7 @@ export default function Logo() {
href="#fmMlTgAod"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="30"
strokeOpacity="1"
></use>
Expand All @@ -288,7 +288,7 @@ export default function Logo() {
href="#a4gSTNVKSn"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="30"
strokeOpacity="1"
></use>
Expand All @@ -300,7 +300,7 @@ export default function Logo() {
href="#b3WdzhfVx"
opacity="1"
fillOpacity="0"
stroke="#1e2616"
stroke="white"
strokeWidth="30"
strokeOpacity="1"
></use>
Expand Down

0 comments on commit ff5bd35

Please sign in to comment.