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

[electrophysiology_browser] Add help directory and missing docs #6773

Merged
merged 17 commits into from
Jul 9, 2020

Conversation

h-karim
Copy link
Contributor

@h-karim h-karim commented Jun 26, 2020

Brief summary of changes

  • I added a help directory with two files, electrophysiology_browser.md and view_session.md for the main page and the individual scan sessions of the module, respectively:

eeg_doc

view_session_doc

@h-karim h-karim requested a review from christinerogers June 26, 2020 19:55
Copy link
Contributor

@christinerogers christinerogers left a comment

Choose a reason for hiding this comment

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

Hi Karim, I did a first glance review.
Found 2 typos.
Please replace "scan" with "recording" everywhere because... EEG.
Please take a stab at describing briefly the relationships between the Downloads.
BIDS should be mentioned at least once.

h-karim and others added 2 commits June 26, 2020 20:28
@h-karim h-karim force-pushed the 2020-6-26_AddHelpDocsEEG branch from 5af9d64 to 28ed74e Compare June 29, 2020 12:13
@h-karim h-karim force-pushed the 2020-6-26_AddHelpDocsEEG branch from 28ed74e to e6b5ec4 Compare June 29, 2020 12:16
@h-karim h-karim requested a review from christinerogers June 29, 2020 12:17
Copy link
Contributor

@christinerogers christinerogers left a comment

Choose a reason for hiding this comment

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

Hi Karim, thanks for these updates, could you take another pass to incorporate my points below -
Then, when ready (tomorrow) :
The last step for Help text is to paste a screenshot of how it actually renders. (Make sure both pages render well in the Help dropdown in your browser, and then paste a screenshot of each in this comment thread.)
Then ping me for re-review. thanks!


Summary information about the candidate, the recording session and the hardware used is displayed.

Recording files can be downloaded individually or as a compressed folder (*All Files* download):
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Recording files can be downloaded individually or as a compressed folder (*All Files* download):
File packages can be downloaded containing just the recording signal, the events, or other metadata for this session - or all files compressed together (*All Files* download). These file packages are organized according to the EEG-BIDS standard, and available for download as follows:

This suggestion/change because: the Recordings can't be downloaded "individually", it's the different types of files that are downloadable as packages.

Karim could you take another pass to look closer at the following?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added "All Files" as part of the list. For the EEG-BIDS link, I created a footer to keep things neat in case more content was added to the file in the future.

modules/electrophysiology_browser/help/view_session.md Outdated Show resolved Hide resolved
modules/electrophysiology_browser/help/view_session.md Outdated Show resolved Hide resolved
modules/electrophysiology_browser/help/view_session.md Outdated Show resolved Hide resolved
modules/electrophysiology_browser/help/view_session.md Outdated Show resolved Hide resolved
@h-karim h-karim marked this pull request as draft June 30, 2020 13:00
@h-karim
Copy link
Contributor Author

h-karim commented Jun 30, 2020

Here are the screenshots detailing the final changes:

help.md

view_session.md

cc @christinerogers

@h-karim h-karim requested a review from christinerogers June 30, 2020 18:47
Copy link
Contributor

@christinerogers christinerogers left a comment

Choose a reason for hiding this comment

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

Hi Karim - good work on this, suggestions below, and I think it's ready to come out of draft stage.
I can review again when ready.

@h-karim h-karim marked this pull request as ready for review July 6, 2020 15:45
@h-karim h-karim requested a review from christinerogers July 6, 2020 15:45
Copy link
Contributor

@christinerogers christinerogers left a comment

Choose a reason for hiding this comment

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

Thanks for your work on this Karim -- looks ready to go.

@driusan ready for final review.

@christinerogers christinerogers added the Category: Documentation PR or issue that aims to improve the documentation (test plans, wiki, comments...) label Jul 7, 2020
@christinerogers christinerogers added the Passed manual tests PR has been successfully tested by at least one peer label Jul 7, 2020
@h-karim h-karim force-pushed the 2020-6-26_AddHelpDocsEEG branch from 7ab0abd to f48cf2f Compare July 8, 2020 01:07

This module allows you to review and download EEG recordings and metadata. Downloads are organized according the EEG-BIDS standard.

The selection filter allows you to narrow down candidate sessions. Clicking on any column headers in the data table to sort the table by that column. Individual sessions can be accessed by clicking on the *raw* (for raw datasets) or *all types* (for all data) links of one of the rows under the links column, which will redirect you to the *View Session* page.
Copy link
Collaborator

Choose a reason for hiding this comment

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

The first 2 sentences violate the help style guide. (The second sentence is also grammatically incorrect.)

Copy link
Contributor Author

@h-karim h-karim Jul 8, 2020

Choose a reason for hiding this comment

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

My bad, I didn't notice the help style guide, I'll read it and format the files accordingly.

Copy link
Collaborator

Choose a reason for hiding this comment

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

In particular, I was referring to the part "Assume the user is tech-savvy enough to know about features that are intuitive or common across modern platforms, so you don’t need to repeat in every Help text".. the first example it gives it clicking on column headers to sort, but I think filtering in a selection filter also easily meets that criteria.


Files can be downloaded containing just the recording signal, the events, or other metadata, or all files compressed together, for the current session. These files are organized according to the EEG-BIDS standard<sup id="1">[1](#f1)</sup>, and are available for download as follows:

- All files (tgz): a compressed folder containingscan all the recording data as well as metadata for the EEG scan session.
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 obviously a typo


Summary information about the candidate, the recording session and the hardware used is displayed.

Files can be downloaded containing just the recording signal, the events, or other metadata, or all files compressed together, for the current session. These files are organized according to the EEG-BIDS standard<sup id="1">[1](#f1)</sup>, and are available for download as follows:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just use a parenthesis to avoid mixing HTML and markdown.

h-karim added 2 commits July 8, 2020 10:39
Fixed typos, removed navigation explanation, changed "just" to "only" to makee it alex compliant, renamed view_sessions.md to sessions.md for loris to detect and display content.
@h-karim h-karim requested a review from driusan July 9, 2020 08:16
@driusan driusan merged commit 3fed1e7 into aces:master Jul 9, 2020
@christinerogers
Copy link
Contributor

just realized this PR thread never included the requested screenshots

The last step for Help text is to paste a screenshot of how it actually renders. (Make sure both pages render well in the Help dropdown in your browser, and then paste a screenshot of each in this comment thread.)

@h-karim can you do one last check that the line-breaks, bullets, special chars etc render ok in the actual Help Dropdown in your Loris front-end, for both pages? So that any fixes can go in before 23.1 is released - thanks.
(See #6600 for an example)

@h-karim
Copy link
Contributor Author

h-karim commented Jul 14, 2020

@christinerogers Checked and added the screenshots to the description of the PR for reference.

@ridz1208 ridz1208 added this to the 24.0.0 milestone Jul 15, 2020
AlexandraLivadas pushed a commit to AlexandraLivadas/Loris that referenced this pull request Jun 29, 2021
…#6773)

Add help content to electrophysiology_browser module.

    Resolves aces#6676
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Documentation PR or issue that aims to improve the documentation (test plans, wiki, comments...) Passed manual tests PR has been successfully tested by at least one peer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EEG Browser]
4 participants