О том, что будет когда-то. :-)
Очередное обновление XenForo 2.0:
It's time for another development update to highlight what we've changed in the past two weeks.
The most noticeable changes are likely style/interface related. Some of these will be immediately apparent, but others are a lot more subtle:
- Navigation has been changed to a "tab" style approach to more significantly connect to the sub-navigation. Icons have been removed and padding has been changed.
- The darkening on the navigation row has been removed and only kept on the visitor-related links to separate them from the main navigation.
- The position of the search and visitor-related links have been swapped.
- Maintain the navigation row rather than the logo row on mobile (use media queries to display a small logo here).
- Support a sticky navigation row/header. (This uses position: sticky when available to be more efficient and accurate. iOS is the best example of this.)
- Adjusted padding, bottom border and hover styles for the sub-nav row.
- Enlarge some clickable areas of the navigation row and add a bit of separation in other cases.
- Adjusted off canvas navigation color and styling to be more consistent with the "main" navigation area.
- Shift some of the header/navigation links outside of the default page edge padding so they align better visually (even with padding).
- Take the forum list titles from "larger" to "large" text size.
- Drop the "large" text size from 18px to 17px. (We still use this in thread list titles.)
- Make the page title display in 24px normal weight font (rather than 30px light weight).
- Re-add the bottom breadcrumb.
- Ensure the footer always sticks to the bottom of the page (on recent browsers).
- When the sidebar is pushed down and multiple sidebar elements now fit in a row, try to give a consistent height to all of the blocks for a more even look.
- Very slight color tweaks: borders in general are slightly darker; the distinction between the content background, content background "neutral" and page background is slightly greater; muted text is slightly darker)
- Drop the page edge padding to 10px (this is more noticeable on mobiles which have areas that push to the page edge).
- Remove the "page edge liner" darkening on wide monitors. (Mostly due to z-index issues. It would need to be reapproached.)
- Adjust "form section headers" to align more consistently with the labels (but still expand if needed).
- Don't bold the last post date in unread threads.
- Center align usernames and user titles in messages.
- Make the message user info/message content border slightly stronger. Make the message signature border slightly stronger.
- Make the message "action bar" one font size larger than it was.
- Adjust quotes/BB code blocks to have a slightly larger orange border and a border to increase differentiation from the post. Quotes also default to "small" text.
- Move the "preview" button from the submission row to closer to the message editor.
- Adjust the styling on the attach/preview/insert quotes buttons to not grab attention compared to the form submission buttons.
- Remove the "more options" links from quick reply as they now expose very few additional options (at best).
Some of the other more interesting changes include:
- Profile posts in the sidebar widget are now height limited with a fade out. The full version can be seen by clicking the date or "interact" button.
- Mention auto-completion in the rich text editor will now be positioned directly in line with the mention, provided there's space.
- You can now drag text and HTML into the rich text editor. (Dragging within the editor is not currently supported.)
- Expanded new posts widget display options to allow choice of display types: latest posts (read or unread), unread posts only, watched only (read or unread in watched threads/forums). Guests always see latest posts only.
- Add support for passing explicit page context options into widgets (for example, passing the current thread) so they can react in a context sensitive manner if desired. Add some additional widget positions, support pushing widgets into a global sidebar (does not interfere with page-specific sidebars).
- Support a new HTML widget that actually allows you to use XenForo template syntax. This can be used in fairly advanced ways to create more complex widgets or complex conditions over widgets.
- Add a code editor when editing BB code media site templates. This is done via the <xf:codeeditorrow> tag.
- Add a code editor to the rich text editor code overlay.
- Add a button to insert inline code tags to the rich text editor.
- Give options to choose from the various available languages in the code overlay (including dynamically switching the highlighting).
- When displaying highlighted code in a message, give an indication of the code language in the upper right corner) and use a nicer syntax highlighting style.
And of course, the slightly more boring stuff:
Посмотреть вложение 64130
- The editor smilie list positioning has been changed so it isn't hidden when the editor is scrollable and the border doubling when re-closed has been resolved.
- Some auto-complete issues have been resolved in mobile browsers.
- Adjust the maximum height limit of the editor to handle small windows better. (And include iOS specific adjustments to account for the on-screen keyboard.)
- Restored undo/redo editr buttons primarily for mobiles that don't have reasonable access to keyboard shortcuts.
- Collapse list-related editor buttons into a single menu to avoid button wrapping on some tablets.
- Make disabled editor buttons more faint and make the RTE disabled icon more visible when active.
- Small improvements in the display of block link split toggles in older browsers.
- Fix a few HTML validation issues.
- Make sure we don't include itemprop attributes on avatars unless in a context where it makes sense.
- Fix an issue where "view older results" in searches wouldn't maintain the search constraints correctly.
- Support inline moderation actions on a few more pages.
- Fix the lack of a trailing space when clicking on an auto-complete mention option.
- Ensure that we don't re-focus the editor after submitting a quick reply.
- Make sure that you can immediately type into the editor after dragging in an image or a file.
- Focus the editor immediately when clicking the "quote" button on a post to ensure the keyboard appears on iOS.
- Take steps to ensure that the cursor remains on screen when dynamically inserting content or pasting into the editor.
- Take steps to ensure that the cursor remains on screen when the window is resized (particularly when an on-screen keyboard appears).
- When choosing the delete draft button, ensure that the editor does not try to re-save that content unless you make a change.
- Adjusted wordings where possible to use "latest" and "unread" wordings to be clearer about what's included. ("New posts" is intentionally ambiguous because of various filtering options.)
- Reintroduce the log in/sign up button on threads and forums if you don't have permission to create content there to encourage registration.
- Destroy the message preview container after submitting a quick reply so that any video inside it doesn't keep playing... and playing... and playing... Why did you embed a
?
- Link some of the stats on the member tooltip.
- Display awarded trophies on the profile about page.
- Apply block--messages to conversations to be consistent with threads.
- Fixed an issue where profile post comments tried to escape when a profile post was quick edited. Sneaky ones!
- Rename some of our core CSS files to be clearer what's included globally (core.less and core_*.less files) and what is automatically included in app-specific areas (app.less and app_*.less files).
- Remove a few of the less popular default custom fields (AIM, etc) from new installs.
- Add a placeholder in quick search to the "by" field to make it clear that it wants member user name(s).
- Adjust ajax form submission JS events to use the new "type:action" approach consistently (AjaxSubmitError to ajax-submit:error, for example).
- Ensure that captchas refresh regardless of whether the form submission errors.
- Shuffle the thread list icon order; watch will now always be the rightmost icon.
- Kill the remaining references to our old border color system and standardize on the new "structural border" colors.
- Link the entire "X said" text to the source message.
- Provide a base class to shift active page anchors by the size of the sticky navigation to ensure the top of the content you're linked to doesn't go under the header.
- Create a new system for dynamically loading the Facebook JS SDK on demand (such as when a Facebook video is embedded). This should be generalizable to other cases where we need to dynamically adjust external JS state/systems based on content in the page.
- Determine workarounds for bugs in Chrome's current position sticky implementation and created reduced test cases so they can hopefully be fixed in a future release. Until then, position sticky usage has been disabled in Chrome.
- In development mode, automatically write out an add-on-specific style_properties.less file to aid with auto-completion of style property references.
- Give the quick reply submit row a specific variant class to more easily control the alignment of the submit button.
- Add support for passing dynamic attribute lists into most of our form-related template elements.
- Experiment with suppressing flash messages by default when following a redirect. This can be overridden by changing the forceFlashMessage option.
- Restore the hScroller to the search tabs.
As before, this isn't everything. There are some bug fixes and tweaks that aren't covered here, plus some changes to things that aren't necessary public facing anyway or is still under development.