Skip to content

[fix] - Downgrade Fomantic-UI release to 2.7.4#1049

Merged
DarkSide666 merged 2 commits intodevelopfrom
fix/downgrade-fomantic
Apr 1, 2020
Merged

[fix] - Downgrade Fomantic-UI release to 2.7.4#1049
DarkSide666 merged 2 commits intodevelopfrom
fix/downgrade-fomantic

Conversation

@ibelar
Copy link
Copy Markdown
Contributor

@ibelar ibelar commented Mar 31, 2020

Going back to a atk4/tab friendly Fomantic UI release.

fixes : #1044, #1043

Copy link
Copy Markdown
Member

@mvorisek mvorisek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we under pressure to solve things by downgrading?

I would highly prefer to keep the latest stable version and solve the real issues. It is also important when others (and we count to them) are using atk with 3rd party frameworks/components that also use Fomantic UI - only by fixing the issues we can ensure compatibility with the latest stable version that should be supported by develop branch.

@DarkSide666
Copy link
Copy Markdown
Member

Not sure what exactly you mean @mvorisek .

Latest release of Fomantic contain bug. We're not sure when they will solve it, so we have to roll back or Fomantic issue will become our UI issue of our stable branch.

@atk4 atk4 deleted a comment from codecov bot Mar 31, 2020
@DarkSide666 DarkSide666 self-requested a review March 31, 2020 17:22
Copy link
Copy Markdown
Member

@DarkSide666 DarkSide666 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need this while Fomantic don't fix their bug and make new, more stable release.

@atk4 atk4 deleted a comment from codecov bot Mar 31, 2020
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2020

Codecov Report

Merging #1049 into develop will increase coverage by 46.77%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##             develop    #1049       +/-   ##
==============================================
+ Coverage      24.86%   71.63%   +46.77%     
  Complexity      2655     2655               
==============================================
  Files            126      126               
  Lines           6177     6181        +4     
==============================================
+ Hits            1536     4428     +2892     
+ Misses          4641     1753     -2888
Impacted Files Coverage Δ Complexity Δ
src/App.php 78.91% <ø> (+25.55%) 138 <0> (ø) ⬇️
src/Template.php 92.85% <0%> (+0.42%) 101% <0%> (ø) ⬇️
src/TableColumn/Money.php 87.5% <0%> (+0.83%) 7% <0%> (ø) ⬇️
src/Callback.php 97.22% <0%> (+5.55%) 14% <0%> (ø) ⬇️
src/TableColumn/ColorRating.php 97.14% <0%> (+5.71%) 22% <0%> (ø) ⬇️
src/jsExpression.php 87.17% <0%> (+6.41%) 36% <0%> (ø) ⬇️
src/VirtualPage.php 75.55% <0%> (+8.88%) 18% <0%> (ø) ⬇️
src/FormLayout/_Abstract.php 79.68% <0%> (+17.18%) 30% <0%> (ø) ⬇️
src/FormField/TreeItemSelector.php 17.64% <0%> (+17.64%) 13% <0%> (ø) ⬇️
src/TableColumn/NoValue.php 100% <0%> (+20%) 3% <0%> (ø) ⬇️
... and 94 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ed5729d...76cdc3d. Read the comment docs.

@mvorisek
Copy link
Copy Markdown
Member

Latest release of Fomantic contain bug.

@DarkSide666 Can we fix it from atk side?

@ibelar ibelar dismissed mvorisek’s stale review March 31, 2020 17:55

Sorry but we do not have any control on Fomantic UI release. Bug is in there package.. We need to downgrade their release version for our Tabs to work.

@mvorisek
Copy link
Copy Markdown
Member

Sorry but we do not have any control on Fomantic UI release. Bug is in there package.. We need to downgrade their release version for our Tabs to work.

Please link that bug to the issue #1044.

Can we fix this bug with Javascript? Is there any other major issue that prevent us to keep the new version?

@DarkSide666
Copy link
Copy Markdown
Member

@mvorisek Is there something we really, really need in that new Fomantic release? If no, then I don't see a problem to use 2.7.4. If there are a lot of cool features which we could use in atk UI, then ... at this point still - use 2.7.4 because it works :)
Maybe it's possible to make some JS workaround, but why would @ibelar spend time on that?

@mvorisek
Copy link
Copy Markdown
Member

@DarkSide666 almost one year of fixes https://github.com/fomantic/Fomantic-UI/releases :) The important ones are for dropdown and modal components. So the latest FUI version can save us all a lot of time not figuring out bugs that are already fixed.

@DarkSide666
Copy link
Copy Markdown
Member

Ok. Let @ibelar check if he can work around that tab issue somehow.

@ibelar
Copy link
Copy Markdown
Contributor Author

ibelar commented Apr 1, 2020

Sorry guys, can't do much on this one but wait for Fomantic-UI to fix this. The problem is from the new Tab feature introduced in 2.7.8 when they are initialized. They are aware of the situation. (see fomantic/Fomantic-UI#1255) Not exactly the same issue but caused by the same code. I have also discussed the problem with Lubber from Fomantic UI and he is aware of our situation.

My suggestion is to revert to release 2.7.4 - and those who need a higher release can change it in their app manually. This way our tab and behat test our back to normal.

@DarkSide666 DarkSide666 merged commit b97a304 into develop Apr 1, 2020
@DarkSide666 DarkSide666 deleted the fix/downgrade-fomantic branch April 1, 2020 17:44
@lubber-de
Copy link
Copy Markdown

I proposed a quick solution in Fomantic by adding a new option which, if disabled, will skip the autodetection of an active tab, so the old behavior will be used.
fomantic/Fomantic-UI#1255 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Tabs with wrong default active tab

4 participants