FEATURE: Topic cloud & fragment view#200
Conversation
| @@ -0,0 +1,62 @@ | |||
| require 'capybara/cucumber' | |||
There was a problem hiding this comment.
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.
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| |
| Capybara.app_host = "http://localhost:3000" | ||
| Capybara.default_max_wait_time = 10 | ||
|
|
||
| def getUUID2(itemName) |
There was a problem hiding this comment.
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.
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} /> |
| </Router> | ||
| ) | ||
| } | ||
|
|
src/components/App/App.jsx
Outdated
| } | ||
|
|
||
| export default App; | ||
| export default App |
| import conf from '../../config/config.json' | ||
|
|
||
| const SESSION_URI = conf.services[0] + '/_session'; | ||
| const SESSION_URI = conf.services[0] + '/_session' |
There was a problem hiding this comment.
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 <arnaud.dufour@utt.fr> Co-authored-by: Guillaume Gilles <48546298+GuillaumeGilles42@users.noreply.github.com>
…ertopic#80). Co-authored-by: Taher Kamoun <taherkamoun5@gmail.com> Co-authored-by: Victor Kodais-Loquet <victor.kodais-loquet@hotmail.fr> Co-authored-by: Quentin Delcourte <delcourte.quentin@hotmail.com>
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:
FEATUREfor a behaviour allowing a user to do something new,FIXfor a behaviour which has been changed in order to meet user’s expectations,TESTwhen it concerns an acceptance test,PROCESSfor a change in the way the software is built, tested, deployed,DOCwhen 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,