ElkArte Community

General => Site Feedback => Topic started by: Administrator on January 02, 2022, 06:12:34 pm

Title: EARLY Beta version of 2.0
Post by: Administrator on January 02, 2022, 06:12:34 pm
Time for a heads-up that we did an upgrade of the site today!  The last version the site was running on is the recommended production version 1.1.8   but this is our current 2.0 snapshot.  There is no install package for this, its a manual upgrade only and not recommended for real production sites AT ALL.  Franky its probably a bit early for this but we really need to get some testing and feedback going.

Now we're still fixing bugs and issues.  Some real and some just a result of the manual upgrade process.  As always you may need to do a hard refresh to clean out your browser cache as the theme files are completely new.  Once things settle a bit we will update the site to php8 as well.

Please report everything you still find so we can get to doing what we do best, creating more bugs ... The best place to report the issues is on our GitHub issues tracker (https://github.com/elkarte/Elkarte/issues/new/choose)  You can report them here, but that means someone else will have to add it to the tracker, which does not always happen so known bugs are simply overlooked.
Title: Re: EARLY Beta version of 2.0
Post by: Allan on January 02, 2022, 06:35:01 pm
It's great to see Elkarte back up, Is there a list of changes for 2.0?
Title: Re: EARLY Beta version of 2.0
Post by: Zioclive on January 02, 2022, 06:51:03 pm
Great news .
Thanks for the awesome work.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 02, 2022, 09:43:36 pm
Quote from: Allan – It's great to see Elkarte back up, Is there a list of changes for 2.0?
Not really, I can try to come up with something that users may care about.
There was a tremendous amount of restructure to the code, (as we did in 1.0 and somewhat in 1.1) which a typical user would not care about.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 02, 2022, 10:55:40 pm
One new item that folks can test is better emoji support. 

You can add all sorts of them :smile: to your post just by entering a : then the emoji name, like :smile as the simple example. 

There are 100's of available ones, currently the forum as over 1000 available.  They are all SVG icons so they scale up/down nicely and are crisp.  Once you enter the ':' and start to type in some text you will get a selection box of emoji that match .... some examples

:rolling_eyes:  :airplane: :elephant: :abc: :camera:  :cat: You get the idea :wink:
Title: Re: EARLY Beta version of 2.0
Post by: Arantor on January 02, 2022, 11:20:30 pm
:tada:

Was getting a little worried about y'all here.
Title: Re: EARLY Beta version of 2.0
Post by: tino on January 02, 2022, 11:36:11 pm
Thanks for bringing it back, I get a JSON error when liking your post @Spuds and the mention autocomplete doesn’t appear to work.

I’ll log them both on GitHub later
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 02, 2022, 11:54:44 pm
Thanks for the report, and more so logging them :smile: I'm working on a quick (hope) fix PR to address some of these.
Title: Re: EARLY Beta version of 2.0
Post by: Trekkie101 on January 03, 2022, 12:07:28 am
Honestly - this is the best mobile theme I've ever used on a forum. I love it.
Title: Re: EARLY Beta version of 2.0
Post by: Allan on January 03, 2022, 12:11:07 am

Quote from: Spuds –
Quote from: Allan – It's great to see Elkarte back up, Is there a list of changes for 2.0?
Not really, I can try to come up with something that users may care about.
There was a tremendous amount of restructure to the code, (as we did in 1.0 and somewhat in 1.1) which a typical user would not care about.
That's fine no need then, sometimes major changes and this is just easier.  :wink:  (smiley worked  with adding : )
Title: Re: EARLY Beta version of 2.0
Post by: forumovod on January 03, 2022, 01:27:00 am
Thank you for continuing to develop a new version of the engine ElkArte.
Title: Re: EARLY Beta version of 2.0
Post by: Arantor on January 03, 2022, 02:37:23 am
Tried to like a post...

QuoteAn Error Has Occurred : SyntaxError: JSON.parse: unexpected character at line 2 column 2 of the JSON data

in the popup window, and the following as the POST response:

Code: [Select]
	<div id="fatal_error">
<h2 class="category_header">An Error Has Occurred</h2>
<div class="generic_list_wrapper">
<div class="errorbox" id="2" >Invalid argument supplied for foreach()</div>
</div>
</div>
<div class="centertext">
<a class="linkbutton" href="javascript:window.location.assign(document.referrer);">Back</a>
</div>
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 03, 2022, 03:02:19 am
I've tracked this one down :smile: 

The cause is do the 2.0 "conversion" and one table column not being updated to the new values.   It should be adding your like, its the member notification of that like that is causing the error.  I'll get this fixed tomorrow, need to test an update query first.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 03, 2022, 03:12:11 am
Quote from: Trekkie101 – Honestly - this is the best mobile theme I've ever used on a forum. I love it.
Glad its working well!

2.0 did a fair amount of changing the existing CSS to Flex and Grid layouts to the frequently used areas.  That allowed a lot of crud/tricks/float/table/etc removal since (flex./grid) were designed to do what we need.  The goal (at least for me) on the beta was to have things look mostly the same, but with a new temp[ate/css structure behind it.  Its far from a template engine or anything like that, but a refactor of the old layout to current capabilities/standards.
Title: Re: EARLY Beta version of 2.0
Post by: badmonkey on January 03, 2022, 03:58:19 am
Cool! This will be awesome! Keep up the good work guys!

Another tidbit - this thread has a lot of overflow! The source seems to be the code box.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 03, 2022, 04:06:39 am
Ah yes, I see the code overflow when I narrow the browser .. solution, don't do that :laughing: 
Title: Re: EARLY Beta version of 2.0
Post by: augras on January 03, 2022, 02:07:52 pm
I'm in !
Thank's
Title: Re: EARLY Beta version of 2.0
Post by: badmonkey on January 03, 2022, 03:32:38 pm
Quote from: Spuds – Ah yes, I see the code overflow when I narrow the browser .. solution, don't do that :laughing:

Why didn't I think of that? ;D
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 03, 2022, 03:57:05 pm
I made a CSS change which should have fixed that grid blowout issue.
Title: Re: EARLY Beta version of 2.0
Post by: Jorin on January 05, 2022, 09:36:47 am
Quote from: Arantor – :tada:

Was getting a little worried about y'all here.

Me too. All of a sudden the site was down.  :o

Glad you are back with good news!  :smiley:
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on January 05, 2022, 05:28:22 pm
Glad to see Elkarte online :cool:

--- edit ---
seems that inline attachments are not visible, here an example https://www.elkarte.net/community/index.php?topic=6037.msg42918#msg42918
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 06, 2022, 12:03:50 am
Quote from: radu81 – Glad to see Elkarte online :cool:

--- edit ---
seems that inline attachments are not visible, here an example https://www.elkarte.net/community/index.php?topic=6037.msg42918#msg42918
Thanks, I'll add that to my list :sweat_smile:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 08, 2022, 07:28:00 pm
I put in a temporary fix for the attachment not showing and likely a few other issues here and there (same root cause)

The final fix will likely be a bit more involved, assuming I make up my mind what I want to do:confounded:
Title: Re: EARLY Beta version of 2.0
Post by: forumovod on January 12, 2022, 07:48:40 pm
When I click on the "mark all messages as read" button, there is an endless looping.
Shown in the screenshot.
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on January 12, 2022, 09:04:45 pm
I had something similar, I was not able to quote a message, but after cleaning the cache files in my browser the problem was solved.
Title: Re: EARLY Beta version of 2.0
Post by: forumovod on January 13, 2022, 05:15:11 pm
Quote from: radu81 – I had something similar, I was not able to quote a message, but after cleaning the cache files in my browser the problem was solved.

after clearing the cache in the browser Chrome, the problem is not solved
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 13, 2022, 06:10:09 pm
I'll log it so it can be looked into
Title: Re: EARLY Beta version of 2.0
Post by: Arantor on January 14, 2022, 12:00:45 pm
When you have a multi page topic, reply counting restarts each page, so on page 2 you get no mention of the first post, then it’s reply #1, reply #2 etc. And again on page 3.
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on January 14, 2022, 12:16:45 pm
Already reported here https://github.com/elkarte/Elkarte/issues/3553 ;)
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on January 15, 2022, 12:57:56 am
And it should be fixed now
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 15, 2022, 09:11:17 pm
I refreshed the stie to the current state of what we have in GitHub.  So some bugs will have been fixed, some "not yet" and likely one or two new ones added.

I have NOT updated the language files.  In 2.0 they have been moved to a more sensible location / structure, but as of  now all I had time to do was the default.
Title: Re: EARLY Beta version of 2.0
Post by: McFly on February 16, 2022, 01:01:49 pm
The editing of the signature in the profile area, or the display of the current one, seems to be badly messed up. Also the custom language setting is ... gone?!  :o
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 16, 2022, 03:57:15 pm
The language issue is likely since I have not installed the packs yet, hope to get to that in the next day.

Not sure what you are seeing on the profile signature, it looks fine on my system.  1st be sure flush your browser cache as the CSS has changed.   If that fails to fix it, which theme, and browser are you using and could you provide a screen shot as well?
Title: Re: EARLY Beta version of 2.0
Post by: McFly on February 16, 2022, 07:34:37 pm
The signature should be bbcode, right? Not that:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 16, 2022, 09:48:56 pm
Thanks for the extra details

Yes that should be showing the BBC but its instead showing the rendered html., I'll get that fixed soon.
Title: Re: EARLY Beta version of 2.0
Post by: Adrek on February 16, 2022, 10:33:02 pm
I noticed that Notifications and Messages menu buttons are highlighted (yellow), bot I have no new notifications/messages, and some of PMs have no name in "From" column (on PM main page) but when I go to conversation I see author
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on February 16, 2022, 11:51:38 pm
Is that on the beSocial theme ?
Title: Re: EARLY Beta version of 2.0
Post by: McFly on February 17, 2022, 10:05:42 am
Fixed! The signature edit box now displays bbcode correctly.   :D
Title: Re: EARLY Beta version of 2.0
Post by: Adrek on February 18, 2022, 06:30:22 pm
yes, Besocial theme
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on March 20, 2022, 02:01:24 am
Nice quick reply by the way. The related addon won't be needed once this 2.0 is finalized.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 21, 2022, 02:23:50 am
Hey its yours :D

I gave you a shout out on github as well.  Thank you for the idea and work on QRR 
Title: Re: EARLY Beta version of 2.0
Post by: McFly on March 21, 2022, 10:36:13 am
For me, the search and the account link disappear from time to time. For example, when I have modified a post. Only after a reload they appear again.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 21, 2022, 09:28:57 pm
I've seen that as well but have not (yet) been able to track it down.
Title: Re: EARLY Beta version of 2.0
Post by: Frenzie on March 22, 2022, 05:43:09 pm
Quote from: ahrasis – Nice quick reply by the way. The related addon won't be needed once this 2.0 is finalized.
Wait, where? I don't see it. >_>
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 22, 2022, 09:02:00 pm
Do you have quick reply enabled in your profile look and layout?
Title: Re: EARLY Beta version of 2.0
Post by: Frenzie on March 22, 2022, 09:06:54 pm
Yes, rather I guess I meant to signal a failure on my part to see any difference with how it's always been since all the way back in SMF?
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 22, 2022, 09:23:07 pm
The old one was a plain textbox (assuming you have full editor off) after the menu, breadcrumbs and posts (Link-9946)
The new one is more in the flow of the posts, appearing as the last post, with your avatar etc but with no text.  (Link-9944)
See its so clean now you did not even notice a difference :smiley:

Title: Re: EARLY Beta version of 2.0
Post by: Spuds on March 22, 2022, 10:48:56 pm
Updated the site again with the latest commits from the Github repo. 

This means, some bugs are fixed, some remain, and some new ones were introduced with the brilliant goal of  Fixed > Introduced !

There were fixes pretty much everywhere, and there are still several that I am aware of but the fixes are not yet committed.  There were also some theme fixes to both light and beSocial.

As always report them as ya find them.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 11, 2022, 08:03:47 pm
And another round of update was applied today. 

Once again, more bugs fixed and maybe some introduced!

Be sure to refresh you browser cache (if you wee any problems)
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on April 14, 2022, 07:12:00 am
Before I forgot, should some one see if this small site icon or favicon things be made easily manageable because most ElkArte sites don't show this properly especially in site's shortcut. Not that it is important but for the sake of completion may be.

(Link-9990)
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 14, 2022, 09:00:33 am
Thanks, I had forgotten about that (it should be back on here).

I think the issue comes from us moving away from the old favicon.ico (some time ago) and instead one needs to have a mobile.png file in sites root.  That should allow the old favicon in the browser tab as well as a proper mobile shortcut icon.  Its called out as
Code: [Select]
<link rel="shortcut icon" sizes="196x196" href="......mobile.png" />
Title: Re: EARLY Beta version of 2.0
Post by: Antechinus on April 17, 2022, 02:48:00 am
Honestly? I think it's pretty crude at this stage. A lot of the detailing seems to be a backwards step from the original. It works, but it's visually clunky.

However, obviously I can make it look any way I want it to look, if I really want to, so...
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 17, 2022, 03:30:50 pm
As always, details and specifics are welcome.
Title: Re: EARLY Beta version of 2.0
Post by: Antechinus on April 18, 2022, 12:21:09 am
Honestly? Too long a list. The short version is that the overall impression is crude, thrown together, a collection of code with no overriding vision or aesthetic. The board icons are an obvious example.

The finished result does not necessarily have to reflect my current ideas on aesthetics. I'm happy to admit that other guys are capable of making coherent themes, which look great, and which contain things I may not have thought of myself. However, IMO, as things stand, this ain't one of those themes.

And TBH I cannot see the point of cramming the info centre over at the right side of the forum. Yes, it's very simple CSS to change it, so no problem there. Yes, it does fill up a bit of space on wide screens. But it does that by making the whole page look unbalanced, so no aesthetic benefit. It also only applies to the board index, so as soon as you are inside a topic you are back to the same problem of chasing sentences fives miles across your screen. Really a sane max-width on post content is what's needed for easy reading. Basic typography stuffz. Has been known for literally centuries. :)
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 18, 2022, 02:45:54 am
The board icons are what they have been since 1.1?, so no change has been made there, at least that I recall.  But I know some folks were unhappy with the SVG icons vs PNG ones.

The info center on the right (the 2.0 theme "what do you think about"  is a separate topic) is simply a test to gather feedback.  Obviously its what Xenforo does on their board index and there, as here, it goes back to the to a wide a view on the topic listing and messages.   Just a test to see how many folks would come by to poop on the statue !

I'm not sure how much effort needs to be put into wide viewing vs narrow viewing.  Its hard to get a feel for what the predominant format is now, although I tend to feel its laptop and down (1920 and down, and even so 1280/1024 and down).  One could add sidebars to all of the main areas, but that also gets busy, to much information to take in at one time, too much visual clutter.

Anyway just  putting things out there to gather feedback on what folks expect and how they interact with sites these days, honestly I've not seen anything "new" in forum layout, but that may be an indication that folks don't want to re-learn an interface for each forum they may participate on, they all tend to be familiar so they are easy to navigate.  I'll record your vote as old way better ;) Thanks for the feedback.
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on April 18, 2022, 03:22:05 am
Site icon is working now. Great.

I am not about other things in specific so I rather not comment except good work so far. Keep it up.
Title: Re: EARLY Beta version of 2.0
Post by: Antechinus on April 23, 2022, 12:52:15 am
I suggest running your Darktanion variant through this: https://webaim.org/resources/contrastchecker/

As things stand, it comes nowhere near meeting basic a11y guidelines.
Title: Re: EARLY Beta version of 2.0
Post by: Antechinus on April 23, 2022, 12:54:30 am
And now the site won't let me change back to the Light variant. I'm stuck on Darktanion. :P

Looks like you have some sort of bug with variant selection.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 23, 2022, 05:28:15 pm
QuoteLooks like you have some sort of bug with variant selection.
Seems to work as long as you do not use the "Forum Default" selection area.  But yes that overall area is still not working as it should, something else to look into  :P

QuoteAs things stand, it comes nowhere near meeting basic a11y guidelines.
If I get motivated I'll do that! Overall it was mostly a test (for me) to see if I had broken out enough color vars in the CSS to make at least basic styling "do-able", I doubt it will go anywhere.
Title: Re: EARLY Beta version of 2.0
Post by: Antechinus on April 24, 2022, 12:08:31 am
Yep, I got myself back to the Light variant somehow. Can't remember exactly how I did it, but basically "ok, try this now and see what happens".

The WebAIM site is a very good resource. I use it a lot. One of the things I have noticed about dark themes is that I find them much easier on the eyes if everything is balanced for contrast ratios. IOW, body text, link text, titles, etc (and taking into account that a larger font-size and/or higher font-weight gives the visual impression of higher contrast for the same colours). If not all backgrounds are the same, I often don't use the same text/link colours on all backgrounds.

I tend to use the contrast checker a lot as a starting point, then tweak things from there to compensate for font-size and font-weight. I don't always go for passing WCAG AAA either. From memory, I think WCAG AA is the usual standard for most countries, and dyslexic users (not an insignificant percentage) find too much contrast makes their dyslexia worse (the text starts crawling around the page for them) so there are arguments for not using too much contrast in a default theme. Black on white, or the inverse, are way too harsh, IMO.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on April 24, 2022, 03:53:58 am
I installed the Wave plugin (I think its from WebAIM) for chrome and that seems to do good job at pointing out problem areas w/o having to have a site published, so good for development.  I ran it on light and made a couple of alt text (all those alt="") and link fixes (a few text-less links), colors were fine.  Only checked a few of the main pages.

I'll look to see what it takes to get to AA on the dark theme.  Agree about to much contrast, for me it get harsh and for dark themes I tend to like ones with a touch less contrast, probably why Darktanion ended up where it did.  It was one of those color wheel changes on text/links until, yeah that feels good to my eyes.

Glad you got to reset the theme.  That theme choice area of Profile was redone in 2.0, it used to use the admin controller but now its stands alone in the profile controller, so yeah, a few bugs added.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on May 16, 2022, 09:47:14 pm
So another round of updates were applied today.  Some of these were already "live" but had not been committed to the repo, so what we have now is what is really in the dev branch of the repo.

Some notes:
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on May 17, 2022, 08:52:35 am
Great news, specially for metadata & site schema, IIRC this feature was asked some time ago to be implemented
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on May 17, 2022, 02:47:34 pm
Slowly getting all the features in place.   You will notice the schema org data in its fullest form only when viewing the first page of a topic.

If there are other features that have been requested and are not in place, don't hesitate to post a little nudge reminder :smile:
Title: Re: EARLY Beta version of 2.0
Post by: ahrasis on May 17, 2022, 03:12:35 pm
I haven't get involved in this for quite some times (may be because I am not sure how) but so far I can only see that the 2.0 development is doing great. Thank you all for keeping it up and moving to the right direction.
Title: Re: EARLY Beta version of 2.0
Post by: Frenzie on May 17, 2022, 09:18:22 pm
Hear, hear!
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on June 05, 2022, 12:53:14 am
Updated again today .... the changes that I recall in this update are


That is all for now, more goodies to come :smiley:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on June 20, 2022, 01:05:19 am
Placed the latest code on the site.

Changes that I recall:

Fixes / Updates

New Stuff
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on June 23, 2022, 04:59:53 pm
I'd say that the icode button shouldn't be into the editor, we already have too many buttons. I will open a new topic for this, probably could be a good idea to group some buttons, specially on mobile.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on June 23, 2022, 05:50:14 pm
Sounds like a good topic ... most of those toolbar buttons are never used, and now with some markdown available, perhaps even less at least for me
Title: Re: EARLY Beta version of 2.0
Post by: Frenzie on June 25, 2022, 02:57:16 pm
Quote from: Spuds – Sounds like a good topic ... most of those toolbar buttons are never used, and now with some markdown available, perhaps even less at least for me
I think that's largely contradictory with the especially on mobile comment. **** isn't that easy to type on mobile, imho. Mobile is perhaps the only place where I use those i/b buttons. (But most of the buttons can probably hide behind a few dots or something, particularly if the user can configure which ones they want to hide behind it.)
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on June 25, 2022, 07:06:30 pm
Fair point, I did munge up a couple of thoughts :monkey_face:

I would think we would keep basic format buttons B, I, U, S, and then maybe some commonly used,, Bullet List, Code, Link ...   Just thinking about the ones that get used, and ones that also render "OK" in wizzy

The Others would, of course,  still be in the Reply/Modify/Preview page aka the full editor.  On QR we could also perhaps add dropdown with the others, or not, or maybe just on mobile.

We can also entertain adding in a @ button since that is also not quick access on mobile (well does depend on the keyboard in use)

Adding in a way to add attachments in QR would be awesome IMO
Title: Re: EARLY Beta version of 2.0
Post by: SHANKS on July 14, 2022, 03:15:22 am
The program is beautiful and cute.
Can not be relied upon to build a large forum.
For a number of reasons, including:
1- There are no seo features, a description of the site, sections and topics, no sitemas, and no search engine friendly links.
2- The template modification system is very annoying and tiring.
3- The membership system is frankly very bad. And not tidy.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on July 14, 2022, 04:48:08 am
Quote from: SHANKS – There are no seo features, a description of the site, sections and topics, no sitemas, and no search engine friendly links.
Incorrect, read the thread before you post wrong information.  2.0 contains both OG and SCHEMA meta data
Title: Re: EARLY Beta version of 2.0
Post by: radu81 on July 14, 2022, 02:05:55 pm
@SHANKS please stop registering and posting with double accounts, that's not allowed here.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on July 30, 2022, 05:09:08 pm
Did another site refresh today.  I'll try to highlight some of the changes


Probably some other things I'm forgetting ... and of course likely introduced a few new bugs.
Title: Re: EARLY Beta version of 2.0
Post by: Frenzie on July 31, 2022, 04:32:54 pm
It would be nice if Outlook actually supported anything that advanced. :P
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on July 31, 2022, 04:57:48 pm
LOL ... as I read about the HTML "support" in various, still in use, mail clients well :exploding_head:
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on August 26, 2022, 04:06:17 pm
And another site refresh last night ... there were a few db changes, so for anyone running a copy see the upgrade script in install.  Added one col to boards, changed session size/type in 3 areas, moved some theme to be site settings.

Title: Re: EARLY Beta version of 2.0
Post by: Trekkie101 on August 30, 2022, 11:55:12 pm
QuoteExecuting: "Dropping the custom search Index..." (5 of 10)
Adding Language edit table...done
Removing old hash custom search index...done
failed

In upgrader.

Edit:

After removing that function, it just fails on the next, followed by the next etc.

I manually added the old_posts thing and the forum works again.
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on August 31, 2022, 05:27:43 pm
Thanks, I'll take a look and see what I mussed up!  When I did the site upgrade I did it the old manual way :innocent:
Title: Re: EARLY Beta version of 2.0
Post by: Trekkie101 on August 31, 2022, 07:11:12 pm
I’ve found the failure doesn’t seem to be related to the steps, as every step can produce a fail, was a bit bizzare - so I just manually did them.
Title: Re: EARLY Beta version of 2.0
Post by: badmonkey on October 04, 2022, 07:07:19 pm
How "beta" is the dev version at this point? Bugz included being a given, is it tolerable for mid -size site testing? Organic users are a great testing ground. Does the upgrader work from 1.8?
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on October 05, 2022, 04:41:38 pm
I would certainly appreciate more real testing  :smiley: its needed to shake out the bugs.  I'm sure there is still a fair amount of error log spam as well, every so often I go through the logs and fix some of what I find.  The real start of Beta is when (at least to me) new features are no longer being added, so feature freeze and you just concern yourself with fixes (of course some things may still get added, but if your not carful you just end up in a loop of despair)

There are also addon considerations, which ones are you running just so I can make sure to give them a test.  I'm pretty sure there will be a few breaking issues.

The update script is there but I have not done the needed testing.   That script is really concerned with db updates, so I need to do a fresh 118 -> update to 20 and then do some comparisons.  The other update issue/question/decision is that the file structure really changed under 2.0, its now follows PSR guidelines, so I need to make sure the upgrader cleans up after itself.

I pushed a couple of large updates to the repo but they are not live here just yet.  I also have a couple of smaller features I was thinking of adding and a few areas to simplify.  I also want to pack up 1.1.9 so were are better prepared for 8.1   

So maybe wait several more weeks so we can get a few more things done  :grin:
Title: Re: EARLY Beta version of 2.0
Post by: badmonkey on October 05, 2022, 11:21:08 pm
Word. Thanks for the advisement @Spuds

It's no rush nor critique, to be clear. One site has a crew offering unique if not creative ways to break things. They also provide constructive feedback when they do. Thus it's a reasonable testing grounds.

Anywho, we'll patiently await further updates!

Oh, one other question. Will custom css be reasonably close in 2.0, or will a 1.8 custom css require substantial overhaul?
Title: Re: EARLY Beta version of 2.0
Post by: badmonkey on October 17, 2022, 02:54:22 pm
Perhaps it's also pertinent to expand the question. Will there be substantial theming changes in 2.0, or can 1.9ish themes be ported with reasonable ease?
Title: Re: EARLY Beta version of 2.0
Post by: Spuds on October 17, 2022, 05:01:55 pm
I think what I need to do is take one of my 1.1 themes and see what is required in order to make a fully useful response.  Its going to be very theme dependent with respect to what was changed/adjusted.

A custom.css only theme should mostly just work.  I don't recall any major CSS selector changes, so whatever was being targeted by the custom CSS should still be available.  That said, structurally many things were moved to grid and flexbox, as such how you adjust items may not be the same.  For example the old board index was div/span/float/margin in structure and now its grid-template-columns: [bicon] 75px [info] auto [avatar] 60px [latest] 32% [stats] minmax(80px, 120px) [end];  Which may look complicated but its really not, and you can rearrange and delete the items with ease.

Themes with custom templates will need some effort, mostly if you want to take advantage of the new features, such as the improved metadata (note I did add that in 1.1.9, but to use it with a custom theme, its index.template would need to be updated to output the data, the updater should offer this but ...) Custom themes likely have their own board/message/display templates with their own css, which again should "work"   But things such as who liked a post, that was hidden until you did a button hover (poor accessibility) is now shown by default.

Font awesome support was removed in 2.0, but could easily be added back with a custom theme.  It was depreciated in 1.1 and not used by the core theme.

The top menu is now pure CSS, removing hoverintent/superfish js from use.  So themes that did very custom menus, or used those JS functions to adjust fade in/out would need some changes.  Part two of that change is when you use click menus, such as mobile/touch devices, that is still JS (new code) enabled, so you would want to test changes both ways.

Font size changed slightly, but most importantly the way its done now stops a lot of the compounding effect that we had, so a custom theme may find some of their font sizes will need to be adjusted.

Other menus were also changed/simplified made consistent, so again depending on what you did ....

I could go on, but I feel most adjustments should be straight forward as the overall look did not really change, but many of the old ways of doing it were changed.   I know that is not much help  :sad:
Title: Re: EARLY Beta version of 2.0
Post by: NetFlag on October 17, 2022, 06:15:36 pm
Don't worry! The most important thing is that an update to 2.0 goes through without problems. The theme with its variants in dev 2.0 is top-notch!  :thumbsup: