This PR adds the Proposal Edit and Proposal Raw pages.
Part of #2875
While implementing this, I noticed that the logic used to fetch proposal
details, on Details (record/:token) page, was being affected by the
proposal details fetch on Edit (record/:token/edit) page. Since we have
already fetched it on another page, other listeners such as voteSummaries,
comments, piSummaries, weren't triggered.
One way to quick fix that was to force a request on every page load on
both details and edit pages. This, of course isn't a correct design in terms
of cache and navigation delays, but since it's out of this PR scope, I
decided to go for this quick fix.
This PR adds the Proposal Edit and Proposal Raw pages.
Part of #2875
While implementing this, I noticed that the logic used to fetch proposal details, on Details (
record/:token
) page, was being affected by the proposal details fetch on Edit (record/:token/edit
) page. Since we have already fetched it on another page, other listeners such as voteSummaries, comments, piSummaries, weren't triggered.One way to quick fix that was to force a request on every page load on both details and edit pages. This, of course isn't a correct design in terms of cache and navigation delays, but since it's out of this PR scope, I decided to go for this quick fix.
/record/:token/edit
,/record/:token/raw
.