-
Notifications
You must be signed in to change notification settings - Fork 165
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
FEATURE: Topic cloud & fragment view #200
base: v7
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,62 @@ | |||
require 'capybara/cucumber' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is one step definition file per Web page.
Since there is no "fragment" page, this file should not exist.
Please move the needed steps (and only them) into existing files.
expect(page).to have_selector('.Items .item', count: int) | ||
end | ||
|
||
Alors("l'item {string} est décrit par une date") do |item| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A date
? Which one?
Please note that scenarios should include samples therefore steps should include parameters.
expect(parent).to have_selector('.date') | ||
end | ||
|
||
Alors("l'item {string} est décrit par un auteur") do |item| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
Capybara.app_host = "http://localhost:3000" | ||
Capybara.default_max_wait_time = 10 | ||
|
||
def getUUID2(itemName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please reuse existing methods (and edit them if necessary).
src/components/App/App.jsx
Outdated
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom' | ||
import Portfolio from '../Portfolio/Portfolio.jsx' | ||
import Item from '../Item/Item.jsx' | ||
import Outliner from '../Outliner/Outliner.jsx' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't edit lines if it is not part of the feature you are implementing (it would mess completely the "blame" feature, and moreover it makes edition conflicts more likely).
src/components/App/App.jsx
Outdated
<Route path="/" component={Portfolio} /> | ||
<Route path='/item/:corpus/:item' component={Item} /> | ||
<Route path='/viewpoint/:id' component={Outliner} /> | ||
<Route path='/' component={Portfolio} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem
src/components/App/App.jsx
Outdated
</Switch> | ||
</Router> | ||
) | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem
src/components/App/App.jsx
Outdated
} | ||
|
||
export default App; | ||
export default App |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem
|
||
const SESSION_URI = conf.services[0] + '/_session'; | ||
const SESSION_URI = conf.services[0] + '/_session' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fed up. Please scan each diff line yourself. And check EVERY rule before requesting for a pull.
da07949
to
ebe7b6c
Compare
…c#80). Co-authored-by: Arnaud Dufour <[email protected]> Co-authored-by: Guillaume Gilles <[email protected]>
…ertopic#80). Co-authored-by: Taher Kamoun <[email protected]> Co-authored-by: Victor Kodais-Loquet <[email protected]> Co-authored-by: Quentin Delcourte <[email protected]>
Content
Implemented fragment and cloud view
@arnaud9145, @taher100, @sab91 and @GuillaumeGilles42 for implementation
@Double-Ramzi and @qdelcourte
Checklist
Please check that your pull request is correct:
FEATURE
for a behaviour allowing a user to do something new,FIX
for a behaviour which has been changed in order to meet user’s expectations,TEST
when it concerns an acceptance test,PROCESS
for a change in the way the software is built, tested, deployed,DOC
when it concerns only internal documentation (however it is better to combine it with the contribution that required this documentation change),:
) with one space after and no space before,manage
),should
).(closes #xx)
if xx is a feature ticket (and the commit is a complete implementation),(fixes #xx)
if xx is a fix ticket (and the commit is a complete fix),(see #xx)
otherwise,