openfisca / legislation-explorer

Explore legislation formulas and parameters.
https://legislation.demo.openfisca.org
GNU Affero General Public License v3.0
26 stars 13 forks source link

Index entities #198

Closed sandcha closed 5 years ago

sandcha commented 5 years ago

Fixes #80

Adds specific page for each entity Use same url for entity exploration (e.g. http://localhost:2030/person) List entities in home page Adapt search function to look for entities Add link to entity in parameter and variable page

fpagnoux commented 5 years ago

I also have a warning on the variable pages:

checkPropTypes.js:19 Warning: Failed prop type: The prop `entities` is marked as required in `Variable`, but its value is `undefined`.
    in Variable (created by InjectIntl(Variable))
    in InjectIntl(Variable) (created by ParameterOrVariableOrEntityPage)
    in div (created by ParameterOrVariableOrEntityPage)
    in ParameterOrVariableOrEntityPage (created by RouterContext)
    in div (created by App)
    in DocumentTitle (created by SideEffect(DocumentTitle))
    in SideEffect(DocumentTitle) (created by App)
    in App (created by InjectIntl(App))
    in InjectIntl(App) (created by RouterContext)
    in RouterContext (created by Router)
    in Router
    in IntlProvider
fpagnoux commented 5 years ago

Added links from variable pages to entities page:

screen shot 2018-09-30 at 7 04 48 pm