GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat: modernize angular split by Harpush · Pull Request #444 · angular-split/angular-split Conversation
|
|
Is it possible to add more scss variables with default value in order to customize:
Or to use css variable, it can also work :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
That's unrelated to this PR and already got merged in #367 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@SanderElias @Jefiozie the merge conflicts are only due to CSS variables PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Anxious to see this new version. I was in the process of updating my dashboard app to try and include cdk drag & drop. I'll not waist time and wait a bit so I'll be available as a beta tester if needed. Thanks for all the great work you are doing!!! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I currently use [order] on split areas that are included/excluded from the dom with an @if/ngIf. Without setting the order, the areas included by the @if/ngIf always get rendered after the static area(s). Would this PR break this functionality? Example: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
With this PR the order is based on DOM order. That means if the ngIf adds the area before the static ones it will work as expected. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
will avoid multiple warnings in console and the main/max size won't suddenly start working while dragging
…cts sizes" This reverts commit 5fc3aa9.
|
@Jefiozie Would you have time to review this? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I left some questions but nothing serious. My main concern is that I would like to have a deprecation notice before we remove the old types OR we need to have a schematic in place to migrate everything.
Im not against either one but backwars compatibily is something i would appriciate.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| it('Click gutters to switch area sizes between 0 and X', () => { | ||
| cy.get('.as-split-gutter').eq(0).click() | ||
| cy.wait(1500) | ||
| cy.wait(2000) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
WHy is this change needed for cypress?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I can't seem to figure out how it worked before. The transition is 1.5s and the delay is 1.5s. When running live it works well but fails in CI run.
At 1500 it fails on 9 pixels instead of 0
At 1600 it fails on 5 pixels instead of 0
At 2000 it passes
Not sure what to do about it...
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "@typescript-eslint/eslint-plugin": "6.19.0", | ||
| "@typescript-eslint/parser": "6.19.0", | ||
| "cypress": "12.17.4", | ||
| "angular-cli-ghpages": "^2.0.0-beta.2", |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can we use a none beta version or is there a issue with this version?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
That's a great question. I don't know why this is beta. If you look at line 43 before my changes it was beta to begin with. The cypress update just moved those dependencies around (ABC order)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Could we make the old types depracted and not delete them straight away? It would be nice if we could make it so that people can use both for a period of time.
What do you think of this?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
@Jefiozie Concerning deprecation and migrations - let's review what needs discussion:
If we go the schematics direction - we need to create the required infra as there is no schematics collection project in this repo. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
When will this be available? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Jefiozie I wrote some considerations above - can you share your opinion on them? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Harpush I actually am using the collapse/expand for snapping like in the vscode. Can you please maybe add a snap option? I had to sortof implement it with the collapse/expand feature. Don't remove it please. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Can you please elaborate how you would expect the snap to work? Visible vs |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Is this great upgrade planned to be available soon? Can't wait to try it out! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Harpush we've decided to leave it as is and merge it. We will do a beta release of the package soon. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
In that case how about an RFC on a snap feature to replace expand/collapse? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
That is a good idea, would you be interested in writing the first draft/ iteration? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sure I have something in mind that should also answer most of the collapse/expand intended usage hopefully. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hi everyone, We just released a beta version of angular-split, you can find it angular-split 18.0.0-beta.0 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Harpush How can I programmatically change the sizes? Without using the mouse. What should I use instead of collapse/expand/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Option 1: like the custom gutter demo use hide or |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Harpush Why did you change I was asked to make a PR, but before doing anything, I want to know the rationale. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Akxe split area has both css and html template. It also affects the host styles and classes. Making it a directive will require to use DOM apis to emulate html and css. If you think adding the directive to your component will work and won't break anything you can create a PR that changes the split area component selector to support attribute selector while keeping it a component. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Unable to preventDefault inside passive event listener due to target being treated as passive Gutter is not using transitions Transition to Angular Standalone Components in Favor of Angular Modules Setting minSize after user drags the gutter causing resizing in split panel Chrome logs "Intervention" error when dragging with touch
There was an error while loading. Please reload this page.