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

Create diagram as part of note #3934

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

anilsonmez-simsoft
Copy link
Contributor

@anilsonmez-simsoft anilsonmez-simsoft commented Nov 26, 2021

Diagrams can be saved as a note of type DIAGRAM. These diagrams can be seen on the show pages of the related ANET entity.

Closes AB#245

User changes

  • Users can create, edit or delete diagrams related to the ANET entities

Super User changes

  • None

Admin changes

  • None

System admin changes

  • anet.yml or anet-dictionary.yml needs change
  • db needs migration
  • documentation has changed
  • graphql schema has changed

Checklist

  • Described the user behavior in PR body
  • Referenced/updated all related issues
  • commits follow a repo#issue: Title title format and these 7 rules
  • commits have a clean history, otherwise PR may be squash-merged
  • Added and/or updated unit tests
  • Added and/or updated e2e tests
  • Added and/or updated data migrations
  • Updated documentation
  • Resolved all build errors and warnings
  • Opened debt issues for anything not resolved here

@anilsonmez-simsoft anilsonmez-simsoft marked this pull request as draft November 26, 2021 14:11
@anilsonmez-simsoft anilsonmez-simsoft force-pushed the AB-245-create-diagram-as-part-of-note branch 3 times, most recently from 3faac80 to f4f1301 Compare November 26, 2021 14:47
@anilsonmez-simsoft anilsonmez-simsoft self-assigned this Nov 29, 2021
@anilsonmez-simsoft anilsonmez-simsoft marked this pull request as ready for review November 29, 2021 08:00
@anilsonmez-simsoft anilsonmez-simsoft force-pushed the AB-245-create-diagram-as-part-of-note branch from 681069a to 662110a Compare December 9, 2021 13:20
@anilsonmez-simsoft anilsonmez-simsoft force-pushed the AB-245-create-diagram-as-part-of-note branch from 662110a to f920100 Compare December 9, 2021 13:49
@@ -7,7 +8,6 @@ import AdminIndex from "pages/admin/Index"
import MergeLocations from "pages/admin/MergeLocations"
import MergePeople from "pages/admin/MergePeople"
import MergePositions from "pages/admin/MergePositions"
import BoardDashboard from "pages/dashboards/BoardDashboard"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is still used as a page in this file, so it should stay under pages/.

// Make sure we have a navigation menu
useBoilerplate({
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is still used as a page in Routing.js, so it should stay under pages/, and also use the boilerplate.

import { Button, Modal } from "react-bootstrap"
import utils from "utils"
import * as yup from "yup"
import "./Diagrams.css"
Copy link
Collaborator

Choose a reason for hiding this comment

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

To avoid clutter, generic diagramming components might be placed in a sub-directory src/components/diagrams/.

@gjvoosten gjvoosten requested review from midmarch and removed request for asafkaganbezgin and ny-simsoft December 23, 2021 13:43
@gjvoosten gjvoosten marked this pull request as draft February 16, 2023 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants