It's possible to create really wide tables in the preview. In fact, while experimenting or playing, it's really easy. Just add a lot of fields and use the table style, and bam, very wide view.
Once this happens, the UI will bust out because the table pushes the entire page wide. I think, if we can, we need to separate them so the elements that control the width of the main UI are not affected by the width of the preview.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1104204-decouble-preview.patch | 11.82 KB | dawehner |
| #3 | 1104204-decouble-preview.patch | 11.73 KB | dawehner |
| #2 | 1104204-decouble-preview.patch | 9.11 KB | dawehner |
Comments
Comment #1
dawehnerSome irc comments
Comment #2
dawehnerThis is the current progress.
Things which aren't working
* the preview with #ajax :) It seems to load the wrong path via js
* the css is different.
Comment #3
dawehnerHey now we are back to a fapi caching proble.
Apply the patch, clear cache and click the preview button.
You will see a message because $view is empty in it.
Comment #4
dawehnerOkay got preview work again.
Things which has to be done:
* Visit the @todo's
* Fix the css based on the changed html structure
* Fix display of views-preview-buttons/checkboxes
Comment #5
dawehnerNot sure whether this makes 100% sense.
Comment #6
dawehnerOne thing which should be done here as well is to remove the pre_render thing for a view.
Currently the messanges from excepctions aren't rendered on the initial non-js preview.
Comment #7
merlinofchaos commentedFinished this up and committed.