Skip to content

Responsive Design - Info Box#5861

Merged
offtherailz merged 4 commits intogeosolutions-it:masterfrom
vlt1:c125-info-box-new
Sep 22, 2020
Merged

Responsive Design - Info Box#5861
offtherailz merged 4 commits intogeosolutions-it:masterfrom
vlt1:c125-info-box-new

Conversation

@vlt1
Copy link
Copy Markdown
Contributor

@vlt1 vlt1 commented Sep 11, 2020

Description

austrocontrol-C125/#160 and partly austrocontrol-C125/#162. The issue with the editor needs to be resolved separately as it involves creating a new element from scratch in react-draft-wysiwyg. The relevant discussion is in the old pr.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

austrocontrol-C125/#160
austrocontrol-C125/#162

What is the new behavior?
Details sheet row has two new buttons for options, draftjs details editor is added.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

@vlt1 vlt1 added this to the 2020.03.00 milestone Sep 11, 2020
@vlt1 vlt1 self-assigned this Sep 11, 2020
@vlt1 vlt1 mentioned this pull request Sep 11, 2020
12 tasks
@coveralls
Copy link
Copy Markdown

coveralls commented Sep 11, 2020

Coverage Status

Coverage decreased (-0.03%) to 83.259% when pulling c34cb91 on vlt1:c125-info-box-new into e13057a on geosolutions-it:master.

Copy link
Copy Markdown
Member

@offtherailz offtherailz left a comment

Choose a reason for hiding this comment

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

It seems a nice work. 🚀
I've only to ask some things for maintainance

  • I see loadedData here and there, The shape and the properties are not clear. Can you document more additional properties you added or use the common linkedResources shape if possible. Less additional properties we have, more the code is easy to understand and to maintain. And they all have to be documented.
  • Unit tests
  • About the wysiwyg editor functionalities I suggest to try what @vlt1 was able to provide without forking and see if it is enough @tdipisa . In case we need a better tool, we can open a separate issue.

@offtherailz offtherailz self-requested a review September 21, 2020 16:12
Copy link
Copy Markdown
Member

@offtherailz offtherailz left a comment

Choose a reason for hiding this comment

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

@vlt1 I committed the tooltip for the detail card in the Toolbar and I changed priority for default MapStore.
You can restore this by setting in localConfig.json of the project this:

{
          "name": "Details",
          "override": {
            "Toolbar": {
              "priority": 10
            }
          }

@offtherailz offtherailz merged commit d39414d into geosolutions-it:master Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants