Skip to content

TNL-731: Add possibility to search notes. - #6086

Merged
polesye merged 1 commit into
feature/edxnotesfrom
anton/edxnotes-search
Dec 4, 2014
Merged

TNL-731: Add possibility to search notes.#6086
polesye merged 1 commit into
feature/edxnotesfrom
anton/edxnotes-search

Conversation

@polesye

@polesye polesye commented Nov 28, 2014

Copy link
Copy Markdown
Contributor

@polesye
polesye force-pushed the anton/edxnotes-search branch 2 times, most recently from 12967a2 to 0f32e62 Compare December 1, 2014 09:18

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why this check is needed if this tab must be closable?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Why this check is needed if this tab must be closable?

It's a base class for RecentActivity (is not closable) and SearchResults (is closable) tabs.
But I'll remove this check to be more informative if somebody will try to close non-closable tab.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Why this check is needed if this tab must be closable?

done.

@polesye
polesye force-pushed the anton/edxnotes-search branch from ce7bae1 to 218aeac Compare December 2, 2014 07:26

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please remove set().

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Please remove set().

Removed.

@polesye

polesye commented Dec 2, 2014

Copy link
Copy Markdown
Contributor Author

@olmar all your comments are addressed.

Comment thread lms/static/js/edxnotes/utils/logger.js Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@polesye Please do not use _ as a prefix for private variables, as it can easily be confused with UnderscoreJS constructs. For example later on, you have a this._times[label] = now() whose syntax is somehow similar to _.times.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Please do not use _ as a prefix for private variables, as it can easily be confused with UnderscoreJS constructs. For example later on, you have a this._times[label] = now() whose syntax is somehow similar to _.times.

Sure. Fixed ;).

@polesye

polesye commented Dec 3, 2014

Copy link
Copy Markdown
Contributor Author

@jmclaus , @olmar all comments are addressed. Please continue review.

@jmclaus

jmclaus commented Dec 3, 2014

Copy link
Copy Markdown

@polesye Review finished, as far as I'm concerned, good to merge into feature branch once my comments have been addressed and tests pass.

@polesye

polesye commented Dec 3, 2014

Copy link
Copy Markdown
Contributor Author

@jmclaus all comments are addressed.

@jmclaus

jmclaus commented Dec 3, 2014

Copy link
Copy Markdown

@polesye 👍 Once tests pass.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

typo: to Search results

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ypo: to Search results

Fixed typo.

@tymofij

tymofij commented Dec 3, 2014

Copy link
Copy Markdown
Contributor

Very thorough work. Couple of nitpicks, but overall 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants