diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..3685b6416 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +custom: https://giving.massgeneral.org/ohif diff --git a/.github/ISSUE_TEMPLATE/---bug-report.md b/.github/ISSUE_TEMPLATE/---bug-report.md deleted file mode 100644 index 8c4cab1fb..000000000 --- a/.github/ISSUE_TEMPLATE/---bug-report.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: "\U0001F41B Bug report" -about: Create a report to help us improve -title: '' -labels: 'Community: Report :bug:, Awaiting Reproduction, Triage :white_flag:' -assignees: '' ---- - -> **Before Creating an issue** -> -> - Are you running the latest version? -> - Are you reporting to the correct repository? -> - Did you search existing issues? - -## Bug Report - -### Describe the Bug - -_A clear and concise description of what the bug is._ - -### What steps can we follow to reproduce the bug? - -1. First step -2. Second step -3. ... - -```js -Please use code blocks to show formatted errors or code snippets -``` - -> :warning: Reports we cannot reproduce are at risk of being marked stale and -> closed. The more information you can provide, the more likely we are to look -> into and address your issue. diff --git a/.github/ISSUE_TEMPLATE/---feature-request.md b/.github/ISSUE_TEMPLATE/---feature-request.md deleted file mode 100644 index d0cabe09f..000000000 --- a/.github/ISSUE_TEMPLATE/---feature-request.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -name: "\U0001F680 Feature request" -about: Suggest an idea for this project -title: '' -labels: 'Community: Request :hand:, Triage :white_flag:' -assignees: '' ---- - -> :hand: Many people requests features. Tell us why yours is important to the -> community. How does it add value? Why _this feature_? -> -> Is your request very specific to your needs? Consider -> [contributing it](https://docs.ohif.org/contributing.html) yourself! Or reach -> out to a community member that offers -> [consulting services](https://docs.ohif.org/help.html#paid--commercial). - -## Request - -**What feature or change would you like to see made?** - -... - -**Why should we prioritize this feature?** - -... diff --git a/.github/ISSUE_TEMPLATE/---support-question.md b/.github/ISSUE_TEMPLATE/---support-question.md deleted file mode 100644 index d38ce5078..000000000 --- a/.github/ISSUE_TEMPLATE/---support-question.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: "\U0001F917 Support Question" -about: "I have a question \U0001F4AC" -title: '' -labels: 'Community: Question :question:, Triage :white_flag:' -assignees: '' ---- - -> :hand: We are a small team with limited resources. Your question is much more -> likely to be answered if it is -> [a good question](https://stackoverflow.com/help/how-to-ask) - -**Description** - -Questions can often be answered by our documentation. Unable to find an answer -in our docs? We'll try to help. In the meantime, if you answer your own -question, please respond with the answer here so that others may benefit as -well. Better yet, open a PR to expand our docs ^\_^ diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 000000000..21b80596c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,86 @@ +name: 'Bug report' +description: Create a report to help us improve +title: '[Bug] ' +labels: ['Community: Report :bug:', 'Awaiting Reproduction'] + +body: + - type: markdown + attributes: + value: | + ๐Ÿ‘‹ Hello, and thank you for contributing to our project! Your support is greatly appreciated. + + ๐Ÿ” Before proceeding, please make sure to read our [Rules of Conduct](https://github.com/OHIF/Viewers/blob/master/CODE_OF_CONDUCT.md) and familiarize yourself with our [development process](https://v3-docs.ohif.org/development/our-process). + + โ“ If you're here to seek general support or ask a question, we encourage you to visit our [community discussion board](https://community.ohif.org/) + + ๐Ÿž For bug reports, please complete the following template in as much detail as possible. This will help us reproduce and address the issue efficiently. + + ๐Ÿงช Finally, ensure that you're using the latest version of the software and check if your issue has already been reported to avoid duplicates. + + - type: textarea + id: bug_description + attributes: + label: Describe the Bug + description: 'A clear and concise description of what the bug is.' + validations: + required: true + + - type: textarea + id: reproduction_steps + attributes: + label: Steps to Reproduce + description: 'Please describe the steps to reproduce the issue.' + placeholder: "1. First step\n2. Second step\n3. ..." + validations: + required: true + + - type: textarea + id: current_behavior + attributes: + label: The current behavior + description: + 'A clear and concise description of what happens instead of the expected + behavior.' + validations: + required: true + + - type: textarea + id: expected_behavior + attributes: + label: The expected behavior + description: + 'A clear and concise description of what you expected to happen.' + validations: + required: true + + - type: input + id: os + attributes: + label: 'OS' + description: 'Your operating system.' + placeholder: 'e.g., Windows 10, macOS 10.15.4' + validations: + required: true + - type: input + id: node-version + attributes: + label: 'Node version' + description: 'Your Node.js version.' + placeholder: 'e.g., 16.14.0' + validations: + required: true + - type: input + id: browser + attributes: + label: 'Browser' + description: 'Your browser.' + placeholder: 'e.g., Chrome 83.0.4103.116, Firefox 77.0.1, Safari 13.1.1' + validations: + required: true + + - type: markdown + attributes: + value: > + > :warning: Reports we cannot reproduce are at risk of being marked + stale and > closed. The more information you can provide, the more + likely we are to look > into and address your issue. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..bd22745d1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: ๐Ÿค— Support Question + url: https://community.ohif.org/ + about: Please use our forum if you have questions or need help. diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 000000000..f0d51e6e3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,36 @@ +name: Feature request +description: Create a feature request +labels: ['Community: Request :hand:'] +title: '[Feature Request] ' +body: + - type: markdown + attributes: + value: | + ๐Ÿ‘‹ Hello and thank you for your interest in our project! + + ๐Ÿ” Before you proceed, please read our [Rules of Conduct](https://github.com/OHIF/Viewers/blob/master/CODE_OF_CONDUCT.md). + + ๐Ÿš€ If your request is specific to your needs, consider contributing it yourself! Read our [contributing guides](https://v3-docs.ohif.org/development/contributing) to get started. + + ๐Ÿ–Š๏ธ Please provide as much detail as possible for your feature request. Mock-up screenshots, workflow or logic flow diagrams are very helpful. Discuss how your requested feature would interact with existing features. + + โฑ๏ธ Lastly, tell us why we should prioritize your feature. What impact would it have? + + - type: textarea + attributes: + label: 'What feature or change would you like to see made?' + description: + 'Please include as much detail as possible including possibly mock up + screen shots, workflow or logic flow diagrams etc.' + placeholder: '...' + validations: + required: true + - type: textarea + attributes: + label: 'Why should we prioritize this feature?' + description: + 'Discuss if and how the requested feature interacts with existing + features.' + placeholder: '...' + validations: + required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 4a5623153..1b2ee8202 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,14 +1,91 @@ -### PR Checklist - -- [ ] Brief description of changes -- [ ] Links to any relevant issues -- [ ] Required status checks are passing -- [ ] User cases if changes impact the user's experience -- [ ] `@mention` a maintainer to request a review + + + + +โš ๏ธโš ๏ธ Please make sure the checklist section below is complete before submitting your PR. +To complete the checklist, add an 'x' to each item: [] -> [x] +(PRs that do not have all the checkboxes marked will not be approved) +--> + +### Context + + + +### Changes & Results + + + +### Testing + + + +### Checklist + +#### PR + + + +- [] My Pull Request title is descriptive, accurate and follows the + semantic-release format and guidelines. + +#### Code + +- [] My code has been well-documented (function documentation, inline comments, + etc.) + +#### Public Documentation Updates + + + +- [] The documentation page has been updated as necessary for any public API + additions or removals. + +#### Tested Environment + +- [] OS: +- [] Node version: +- [] Browser: + [blog]: https://circleci.com/blog/triggering-trusted-ci-jobs-on-untrusted-forks/ diff --git a/.github/stale.yml b/.github/stale.yml index 990e2f4f1..4d6cdd4e3 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -2,25 +2,19 @@ # https://github.com/apps/stale # # Number of days of inactivity before an issue becomes stale -daysUntilStale: 21 +daysUntilStale: 180 # Number of days of inactivity before a stale issue is closed -daysUntilClose: 7 +daysUntilClose: 60 # Issues with these labels will never be considered stale exemptLabels: - - 'Story :raised_hands:' - 'Bug: Verified :bug:' - - 'Task: CI/Tooling :robot:' - - 'Task: Docs ๐Ÿ“–' - - 'Task: Docs :book:' - - 'Task: Refactor :hammer_and_wrench:' - - 'Task: Tests :microscope:' - 'PR: Awaiting Review ๐Ÿ‘€' - - 'Triage :white_flag:' - - 'Extension: Discussion' - 'Announcement ๐ŸŽ‰' - 'IDC:priority' - 'IDC:candidate' - 'IDC:collaboration' + - 'Community: Request :hand:' + - 'Community: Report :bug:' # Label to use when marking an issue as stale staleLabel: 'Stale :baguette_bread:' # Comment to post when marking an issue as stale. Set to `false` to disable diff --git a/modes/longitudinal/src/index.js b/modes/longitudinal/src/index.js index 0c3e3d4d4..129c55335 100644 --- a/modes/longitudinal/src/index.js +++ b/modes/longitudinal/src/index.js @@ -194,7 +194,7 @@ function modeFactory() { return { id: ohif.layout, props: { - leftPanels: [tracked.thumbnailList], + // leftPanels: [tracked.thumbnailList], rightPanels: [dicomSeg.panel, tracked.measurements], rightPanelDefaultClosed: true, viewports: [ diff --git a/platform/docs/netlify.toml b/platform/docs/netlify.toml index 9b0513d31..e83629343 100644 --- a/platform/docs/netlify.toml +++ b/platform/docs/netlify.toml @@ -8,7 +8,7 @@ # managed by CircleCI and deployed to our Google Hosting # -#[build] +[build] ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../ui/ ../core/ ../i18n/" # NODE_VERSION in root `.nvmrc` takes priority diff --git a/platform/viewer/src/routes/index.tsx b/platform/viewer/src/routes/index.tsx index 59c6c2fdb..d2ea84628 100644 --- a/platform/viewer/src/routes/index.tsx +++ b/platform/viewer/src/routes/index.tsx @@ -23,7 +23,7 @@ const bakedInRoutes = [ }, { path: '/localbasic', - children: Local.bind(null, { modePath: 'viewer' }), + children: Local.bind(null, { modePath: 'viewer/dicomlocal' }), }, ];