Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable url fragment and avoid anchor scroll #26

Closed
wants to merge 3 commits into from

Conversation

beliolfa
Copy link

This PR disables url fragment in order to be compatible with Nova and its router.

Closes #13

Copy link

@wotta wotta left a comment

Choose a reason for hiding this comment

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

I wanted to check everything but you changed a whole bunch. most likely to test it for yourself but please fix the obvious things.

Also next time review your own pr before submitting it :)

## Installation

Install the package into a Laravel app that uses [Nova](https://nova.laravel.com) with Composer:

```bash
composer require arsenaltech/nova-tab
composer require 64robots/nova-tab
Copy link

Choose a reason for hiding this comment

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

please put this back the way it was since it doesn't comply with the changes you told you where making.

This PR disables url fragment in order to be compatible with Nova and its router.

```

## Usage

Add the Tabs trait to your App\Nova\Resource class.

```php
use Arsenaltech\NovaTab\Tabs;
use R64\NovaTab\Tabs;
Copy link

Choose a reason for hiding this comment

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

Suggested change
use R64\NovaTab\Tabs;
use Arsenaltech\NovaTab\Tabs;

@@ -1,26 +1,21 @@
# Laravel Nova Tab [![Total Downloads](https://poser.pugx.org/arsenaltech/nova-tab/downloads)](https://packagist.org/packages/arsenaltech/nova-tab)

# Laravel Nova Tab
Copy link

Choose a reason for hiding this comment

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

Suggested change
# Laravel Nova Tab
# Laravel Nova Tab [![Total Downloads](https://poser.pugx.org/arsenaltech/nova-tab/downloads)](https://packagist.org/packages/arsenaltech/nova-tab)

@@ -1,26 +1,21 @@
# Laravel Nova Tab [![Total Downloads](https://poser.pugx.org/arsenaltech/nova-tab/downloads)](https://packagist.org/packages/arsenaltech/nova-tab)

# Laravel Nova Tab

Custom Nova field to render tabs

Copy link

Choose a reason for hiding this comment

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

Suggested change
![Edit](http://take.ms/MFDjX)
![Detail](http://take.ms/44q7f)
![Validation](http://take.ms/S6hZI)

@beliolfa
Copy link
Author

Sorry I did the pr hoping for a quick merge. But we needed all these changes in our fork for a client. Original pr was only the first commit.

@wotta
Copy link

wotta commented Jun 25, 2019

That means you still need to change this pr before actually being able to get the fix through.

@beliolfa beliolfa closed this Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Page scrolling to anchor when content is too long
2 participants