Code Monkey home page Code Monkey logo

ui's Introduction

UI

npm license npm download GitHub top language GitHub issues npm version

Laravel Enso UI

Installation, Configuration & Usage

Be sure to check out the full documentation for this package available at docs.laravel-enso.com

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

License

ISC

ui's People

Contributors

aocneanu avatar franlmsp avatar gandesc avatar gitmanuela avatar heyner29 avatar jlsjonas avatar raftx24 avatar vmcvlad avatar yacoubbelaoura avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ui's Issues

IO.vue can be initialized before meta is received

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

IO.vue might get initialized before meta data is received from the server, causing Echo initialisation to fail
image
(since this.meta.pusher.options is null)

Steps to Reproduce

  1. load enso using HMR mode (seems to be 100% reproducible this way on my side)

Expected behavior

io.vue to wait for it's required options before instantiating Echo

Actual behavior

race condition

Open content in new tab/window

This is a question.

Hi,

I've searched the documentation, and enso-ui/ui and laravel-enso/enso open and closed tickets but did not find any info on opening content in new tab. (_blank). I know this might not be something that an SPA needs...

I have a request to open some text (bigger description, like a help doc) inside a new tab, not in the same page, not using modals.

I thought to start this from scratch, but first to ask some questions, maybe there is an example or some support.

Appreciate your support,
Thanks,

Upgrading indirect package dependencies with Yarn (question)

This is a question.

Hi,

Stupid question maybe but I'm interested how you guys keep things updated on UI.

So I'm dealing with this yarn issue, where yarn will not update your indirect package dependencies. Let's take enso-ui/ui, which is inside my package.json (^4.0).
enso-ui/ui has inside in it's package.json a dependecy with enso-ui/toastr (^2.0).

I want to update update only enso-ui/toastr from 2.1.1 (what is in my yarn.lock file) to recent 2.1.2.

I do not want to update enso-ui/ui with full dependencies, just enso-ui/toastr.
I also do not consider adequate to yarn add enso-ui/toastr to my local package.json
I also do not consider adequate to manually change the yarn.lock file.

I found this workaround:

yarnpkg/yarn#4986 (comment) - delete yarn.lock entry for enso-ui/toastr and run yarn again, forcing latest version.

Do you have this issue, or you always go for enso-ui/ui upgrade with full dependencies?

Language select with their own languages and scripts rather than flags

This is a feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

language drop-down with language names in their own languages and scripts ( i used this in the tailwind theme 'testing'), and with language or glob icon for help.

Screenshot from 2019-06-15 08-21-10

and if possible to move it to the navbar so users can find it fast.

Reason

users cant find the language they need fast.
and sometimes struggle with it a lot :).
example if the page is in Chinese and the user need Arabic. and many more are described here in this article
http://www.flagsarenotlanguages.com/blog/

and i think it will help with #15 a lot

Version 3 build errors

This is a **bug **

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Multiple errors about flex-basis: auto needing an identifier. Tried to upgrade css packages according to the package lock in the pull request for v4.

Error after call of "yarn serve"

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Today I called yarn && yarn upgrade && yarn.
Afterwards I tried to serve the application with yarn serve and got the following error:

Module build failed (from ./node_modules/eslint-loader/index.js):
Error: .eslintrc.js » eslint-config-airbnb-base » /Users/mauthi/coding/Enso/client/node_modules/eslint-config-airbnb-base/rules/imports.js:
	Configuration for rule "import/no-cycle" is invalid:
	Value "∞" should be integer.

    at validateRuleOptions (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/shared/config-validator.js:138:19)
    at /Users/mauthi/coding/Enso/client/node_modules/eslint/lib/shared/config-validator.js:193:9
    at Array.forEach (<anonymous>)
    at validateRules (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/shared/config-validator.js:190:30)
    at validateConfigArray (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/shared/config-validator.js:337:9)
    at CascadingConfigArrayFactory._finalizeConfigArray (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js:417:13)
    at CascadingConfigArrayFactory.getConfigArrayForFile (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js:271:21)
    at CLIEngine.isPathIgnored (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/cli-engine/cli-engine.js:951:18)
    at CLIEngine.executeOnText (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/cli-engine/cli-engine.js:868:38)
    at lint (/Users/mauthi/coding/Enso/client/node_modules/eslint-loader/index.js:278:17)
    at transform (/Users/mauthi/coding/Enso/client/node_modules/eslint-loader/index.js:252:18)
    at /Users/mauthi/coding/Enso/client/node_modules/loader-fs-cache/index.js:127:18
    at ReadFileContext.callback (/Users/mauthi/coding/Enso/client/node_modules/loader-fs-cache/index.js:31:14)
    at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:271:13)

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

image

I found the following issue which describes the problem:
airbnb/javascript#2331

But after changing the import in package.json to "eslint-plugin-import": "^2.20.1", I got other errors that modules are not imported (I can add them here if needed).

Steps to Reproduce

  1. call yarn && yarn upgrade && yarn
  2. call yarn serve

Expected behavior

Application served

Actual behavior

Error - see description above

User preferences are not longer working (4.9.0)

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Until Laravel Enso 4.8.2, user session preferences were remembered. Take example of table search words, or columns selected for visibility.

Now, on 4.9.0, locally, and on https://www.laravel-enso.com preferences are not kept, and changing the menu is acting as a Reset (for tables). Similarly on Forms, the "changes" are lost.

Nuxt support

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

We are working on converting enso-ui/ui to use Nuxt. Would this be of interest? Please see https://github.com/familytree365

Steps to Reproduce

Expected behavior

Actual behavior

Expose App.User's echo

This is a feature request.

Prerequisites

yes

Description

To avoid multiple simultaneous websocket connections to the server for the same purpose (sending events to a specific user) this.echo.private(App.User.${this.user.id}), currently residing in Notifications.vue should be exposed more globally (state? injected from root?)

Use case

Custom event that triggers a client-side action, user-specific.

Current workaround

Patching Notifications.vue to include custom listeners, breaking separation or establishing & maintaining multiple connections to the same channel

Undesired Page Title

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

After upgrading to the latest version (v3.7.2), the page's title changes in an undesired way when refreshing any page.

image

Steps to Reproduce

  1. Access any Enso based application
  2. Refresh the page
  3. Observe the page title in the browser's tabs bar

Expected behavior

The page's title should display neither null nor Enso when refreshing.

Actual behavior

The page's title changes from {Current Menu} to null to Enso and finally back to {Current Menu}

Unknown custom element <documents> in form slot

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Having a <documents> inside a custom slot inside enso-form seems to cause <confirmation> & <modal>, residing in File.Vue & Url.vue respectively, to become unknown.
image

Causing a hot reload of either component fixes the issue, which makes me think towards a circular reference issue (which is plausible for Modal, not so sure about Confirmation though)

Steps to Reproduce

  1. Add a in a custom slot in an
  2. Notice above behaviour

Expected behavior

Component to load in correctly

Actual behavior

unknown component, causing errors & visual discrepancies

country-level i18n support

This is a feature request.

Prerequisites

yes

Description

The same language can wildly differ between countries, f.e. Dutch in the Netherlands & Dutch in Belgium, while having similarities, have significant differences too.
The same counts for French, German, ...

To account for this I'd suggest displaying the language name in the dropdown, besides just the flag; I believe the backend should already support nl_BE-style language names so that shouldn't be an issue.

Gender on profile page not displayed (enums.genders not working?)

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

If I open the profile page I get the following:
image

No error or something else.

Steps to Reproduce

Expected behavior

In @enso-ui/ui/src/bulma/pages/administration/users/components/UserProfile.vue on Line 139 profile.person.gender has the value 2 and enums.genders._get(2) should return male.

Actual behavior

In @enso-ui/ui/src/bulma/pages/administration/users/components/UserProfile.vue on Line 139 profile.person.gender has the value 2 but enums.genders._get(2) does not return anything.

Settings-menu is always open if reduce-motion setting on OS is on in latest Chrome

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

In the latest Chrome-version (version 74) there is a problem that the settings-menu on the right side of the page is always open if the OS-setting for reduce motion is selected.
This causes issues with the buttons that you can not use because they are hidden underneath this m enu. (see attached screenshots)

Steps to Reproduce

Open the Laravel Enso Application
Open the Users-table (screenshot 1)
Enable in your OS the reduce-motion setting:

  • OSX: Settings > General > Accessibility > Select Reduce Motion
  • IOS: System Preferences > Accessibility > Display > Select Reduce Motion
  • Windows: Settings > Ease of Access > Deselect Show animations in Window

As you can see now the Settings-menu is opened and cannot be closed so you can not edit the records in the table (screenshot 2)

Expected behavior

The expected behavior is that this menu can be closed and opened independent from the OS-settings.

Actual behavior

The settings menu is opened always and cannot be closed if reduced motion is enabled in the OS.

[

ScreenShot1

ScreenShot2

](url)

File.vue' action icons showing for Documents when no permissions

This is a bug.
ref: laravel-enso/documents#12

Prerequisites

yes

Description

The change introduced in 918b45c doesn't affect the ref'd issue as it's calling core.documents.destroy, not core.files.destroy.
the File.vue component is used unless the compact parameter is passed to Documents.vue
image

The same goes for the other actions

Steps to Reproduce

  1. user without core.documents.destroy permission
  2. upload a document & try to destroy it

Expected behavior

icon to be hidden

Actual behavior

hidden error, broken UX

Function format() does not work in the timeline

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Hi, I do not know if you have noticed but the format () function is not working in the timeline.
Here

Steps to Reproduce

  1. Visit the example page

Expected behavior

antes

Actual behavior

Actual

Support redirecting to self

This is a feature request.

Prerequisites

yes

Description

Support a backend-redirect to the same route, with different parameters

Steps to Reproduce

  1. Have a store() form method on back-end return to the same (create) route, with a custom parameter
  2. Submit the form

Expected behavior

Router to redirect to the route with the custom parameter available

Actual behavior

Nothing

Bug background color menu mobile

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

With the new update, the appearance of the mobile menu was broken.
As it does not have a background color, it does not overlap the content of the page.

Screenshot_20200330-075529

missing 'notificationsEvents' on /bulma/Notification.vue

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

missing 'notificationsEvents' import on scoped slot on "/bulma/../Notifications.vue" component

Steps to Reproduce

  1. clicking on the notification drop down menu, and will be visible on console log

Calendar issue in Brazilian Portuguese

This is a bug | feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Calendar not show when language in Brazilian Portuguese

Steps to Reproduce

Expected behavior

Calendar appear in this language

Actual behavior

Component not render

In the documentation of vue-cal the language code need to be "pt-br" in enso is "br"

Expose renderless ui-components?

This is a feature request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Expose renderless UI components for overriding in own (VCS-able) code.

This would limit patches to rewriting the import in templates (or the templates themselves) instead of heaving potentially 100's of lines to be patched using patch-package for generic files

renderless snippet:

import Auth from '../src/core/layouts/Auth';
import Default from '../src/core/layouts/Default';
import Home from '../src/core/layouts/Home';

import App from '../src/core/App.vue';
import AppFooter from '../src/core/components/AppFooter';
import Bookmarks from '../src/core/components/Bookmarks';
import Breadcrumbs from '../src/core/components/Breadcrumbs';
import DocumentTitle from '../src/core/components/DocumentTitle';
import Loader from '../src/core/components/Loader';
import PageHeader from '../src/core/components/PageHeader';

import Navbar from '../src/core/components/navbar/Navbar';

import Menus from '../src/core/components/menu/Menus'
import MenuItem from '../src/core/components/menu/MenuItem'
import Sidebar from '../src/core/components/menu/Sidebar'

export {
    Auth, Default, Home,
    App, AppFooter, Bookmarks, Breadcrumbs, DocumentTitle, Loader, PageHeader,
    Navbar,
    Menus, MenuItem, Sidebar
};

I'd recommend splitting the file up in sections for a cleaner structure (i.e. renderless/components, ...)

Previews of page

This is a ** feature request**.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

Previews of the page on sites like Facebook just say Enso and a blank page. Is there anyway to improve or at least use my env name for site instead?

Steps to Reproduce

Expected behavior

Actual behavior

[Vue warn]: Error in render: "TypeError: Cannot read property 'datasets' of undefined"

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

I don't believe this is an Enso bug, but maybe it happens to others, and maybe you can help with some hints.

Since we started the our project based on enso we did not change any dashboard details.

Since we've upgraded to approx 3.8.0 (could be one version previous to this one, not 100% sure) dashboard fails with:

image

vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in render: "TypeError: Cannot read property 'datasets' of undefined"

found in

---> <ChartCard> at node_modules/@enso-ui/charts/src/bulma/ChartCard.vue
       <EnsoChartCard> at node_modules/@enso-ui/charts/src/bulma/EnsoChartCard.vue
         <Index> at node_modules/@enso-ui/ui/src/bulma/pages/dashboard/Index.vue
           <MainRouter> at node_modules/@enso-ui/ui/src/bulma/pages/MainRouter.vue
             <Default> at node_modules/@enso-ui/ui/src/core/layouts/Default.vue
               <Default> at node_modules/@enso-ui/ui/src/bulma/layouts/Default.vue
                 <Fade> at node_modules/@enso-ui/transitions/src/transitions/Fade.vue
                   <CoreApp> at node_modules/@enso-ui/ui/src/core/App.vue
                     <Root>
[...]
vue.runtime.esm.js?2b0e:1888 TypeError: Cannot read property 'datasets' of undefined
    at VueComponent.data (ChartCard.vue?dae0:127)
    at Watcher.get (vue.runtime.esm.js?2b0e:4479)
    at Watcher.evaluate (vue.runtime.esm.js?2b0e:4584)
    at VueComponent.computedGetter [as data] (vue.runtime.esm.js?2b0e:4836)
    at Object.get (vue.runtime.esm.js?2b0e:2072)
    at Proxy.render (eval at ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bb7c4be-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./node_modules/@enso-ui/charts/src/bulma/ChartCard.vue?vue&type=template&id=2f9e1ca3& (13.js:155), <anonymous>:76:33)
    at VueComponent.Vue._render (vue.runtime.esm.js?2b0e:3548)
    at VueComponent.updateComponent (vue.runtime.esm.js?2b0e:4066)
    at Watcher.get (vue.runtime.esm.js?2b0e:4479)
    at Watcher.run (vue.runtime.esm.js?2b0e:4554)

After debugging it seems that the response from "data":
enso\client\node_modules@enso-ui\charts\src\bulma\ChartCard.vue

axios.get(this.source, { params: this.params })
                .then(({ data }) => {

is:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link rel="icon" type="image/png" href="/images/favicon.png">
    <title>Enso</title>
<link href="/js/chunk-0283c6f6.a1f8ffef.js" rel="prefetch"><link href="/js/chunk-04b46443.2c8e4c3b.js" rel="prefetch"><link href="/js/chunk-0530a976.41eadf56.js" rel="prefetch"><link href="/js/chunk-055e33dc.3e77b7dc.js" rel="prefetch"><link href="/js/chunk-0ce6c9d6.11ee80c9.js" rel="prefetch"><link href="/js/chunk-13c797ce.a074d775.js" rel="prefetch"><link href="/js/chunk-13c8efd2.f3b97130.js" rel="prefetch"><link href="/js/chunk-13cb3914.5afae645.js" rel="prefetch"><link href="/js/chunk-13cc93ca.f0eb5af9.js" rel="prefetch"><link href="/js/chunk-13f1f400.82595e46.js" rel="prefetch"><link href="/js/chunk-13f3b27a.2d7932f5.js" rel="prefetch"><link href="/js/chunk-13f44214.1e3c1342.js" rel="prefetch"><link href="/js/chunk-13f5b158.42915579.js" rel="prefetch"><link href="/js/chunk-13f7ebda.cb5a1e6a.js" rel="prefetch"><link href="/js/chunk-16485ad0.e9784986.js" rel="prefetch"><link href="/js/chunk-1d55b961.466e5350.js" rel="prefetch"><link href="/js/chunk-1e38eeb2.c40d4bb0.js" rel="prefetch"><link href="/js/chunk-20c1e41a.b931106c.js" rel="prefetch"><link href="/js/chunk-20f5667f.eb961bc9.js" rel="prefetch"><link href="/js/chunk-211041e5.1790841d.js" rel="prefetch"><link href="/js/chunk-2214028a.1690e6f7.js" rel="prefetch"><link href="/js/chunk-221d4d7d.4b42e4d1.js" rel="prefetch"><link href="/js/chunk-22903f83.b6940b7b.js" rel="prefetch"><link href="/js/chunk-2536f243.9e98b5eb.js" rel="prefetch"><link href="/js/chunk-27328846.224f4c26.js" rel="prefetch"><link href="/js/chunk-2838fa28.c38f34cd.js" rel="prefetch"><link href="/js/chunk-2b7284c7.f2ce556c.js" rel="prefetch"><link href="/js/chunk-2d0b2879.0913d3a9.js" rel="prefetch"><link href="/js/chunk-2d0b652a.65a8e717.js" rel="prefetch"><link href="/js/chunk-2d0b99e7.a434f2c2.js" rel="prefetch"><link href="/js/chunk-2d0ba2c9.4eced20e.js" rel="prefetch"><link href="/js/chunk-2d0bae5d.70faa083.js" rel="prefetch"><link href="/js/chunk-2d0bd7e6.8bc74c5d.js" rel="prefetch"><link href="/js/chunk-2d0bff22.6bb91a78.js" rel="prefetch"><link href="/js/chunk-2d0c0df3.5a9da1b7.js" rel="prefetch"><link href="/js/chunk-2d0c4d88.d4ea05ea.js" rel="prefetch"><link href="/js/chunk-2d0c810f.8e827ea0.js" rel="prefetch"><link href="/js/chunk-2d0c87c8.bb03b8e2.js" rel="prefetch"><link href="/js/chunk-2d0c89f9.ec56fc71.js" rel="prefetch"><link href="/js/chunk-2d0cbe18.013f83be.js" rel="prefetch"><link href="/js/chunk-2d0cf299.888c6576.js" rel="prefetch"><link href="/js/chunk-2d0cf4c0.e41dc469.js" rel="prefetch"><link href="/js/chunk-2d0cf639.2d96e0a9.js" rel="prefetch"><link href="/js/chunk-2d0cfc24.16a79931.js" rel="prefetch"><link href="/js/chunk-2d0d0429.ba89567c.js" rel="prefetch"><link href="/js/chunk-2d0d0958.e9377729.js" rel="prefetch"><link href="/js/chunk-2d0d6e94.3d06b4a1.js" rel="prefetch"><link href="/js/chunk-2d0d7c68.53498c16.js" rel="prefetch"><link href="/js/chunk-2d0e4a43.6ae5ebbc.js" rel="prefetch"><link href="/js/chunk-2d0e4e61.2c541c15.js" rel="prefetch"><link href="/js/chunk-2d0e8801.d3a07cda.js" rel="prefetch"><link href="/js/chunk-2d0f043c.88420330.js" rel="prefetch"><link href="/js/chunk-2d0f0a23.93090f04.js" rel="prefetch"><link href="/js/chunk-2d207423.10acbf5e.js" rel="prefetch"><link href="/js/chunk-2d207efa.7445334a.js" rel="prefetch"><link href="/js/chunk-2d208c2b.10672bc0.js" rel="prefetch"><link href="/js/chunk-2d208feb.1ab113d7.js" rel="prefetch"><link href="/js/chunk-2d20f6f8.5bb4706a.js" rel="prefetch"><link href="/js/chunk-2d213544.9947e1ff.js" rel="prefetch"><link href="/js/chunk-2d216436.f093ce67.js" rel="prefetch"><link href="/js/chunk-2d21b0dc.04a583ab.js" rel="prefetch"><link href="/js/chunk-2d221b76.e9209dcb.js" rel="prefetch"><link href="/js/chunk-2d2221c5.b7dedd26.js" rel="prefetch"><link href="/js/chunk-2d225c6f.065c8346.js" rel="prefetch"><link href="/js/chunk-2d22cb00.8bb12092.js" rel="prefetch"><link href="/js/chunk-2ded2f53.9c43b4c5.js" rel="prefetch"><link href="/js/chunk-2eae5c82.10161636.js" rel="prefetch"><link href="/js/chunk-2f46b84b.1a6da4e4.js" rel="prefetch"><link href="/js/chunk-2fbc2c9b.e5926a63.js" rel="prefetch"><link href="/js/chunk-38790dba.fa57e74b.js" rel="prefetch"><link href="/js/chunk-38f5a8be.9c5518e2.js" rel="prefetch"><link href="/js/chunk-3a4110ed.3f11b81f.js" rel="prefetch"><link href="/js/chunk-3e86deab.71095136.js" rel="prefetch"><link href="/js/chunk-41d8a200.4c35ec85.js" rel="prefetch"><link href="/js/chunk-436ffa20.b8a86e27.js" rel="prefetch"><link href="/js/chunk-463dfce0.b400651b.js" rel="prefetch"><link href="/js/chunk-480c9cc2.89ce9037.js" rel="prefetch"><link href="/js/chunk-48851966.16134f77.js" rel="prefetch"><link href="/js/chunk-49eeaee9.1807dbd5.js" rel="prefetch"><link href="/js/chunk-4c14711d.cda056ba.js" rel="prefetch"><link href="/js/chunk-4e80b0a1.b7210030.js" rel="prefetch"><link href="/js/chunk-52ed4435.344d2c25.js" rel="prefetch"><link href="/js/chunk-52ed6822.d504bbff.js" rel="prefetch"><link href="/js/chunk-5710d3f7.e6e78f6c.js" rel="prefetch"><link href="/js/chunk-5a7a629e.4869eadc.js" rel="prefetch"><link href="/js/chunk-5adaed81.51f625ed.js" rel="prefetch"><link href="/js/chunk-5b66fde6.916ea669.js" rel="prefetch"><link href="/js/chunk-5c35ecd7.def412c7.js" rel="prefetch"><link href="/js/chunk-5da185aa.b439dd28.js" rel="prefetch"><link href="/js/chunk-5fe022d4.5e69bb44.js" rel="prefetch"><link href="/js/chunk-62587fc6.88efff23.js" rel="prefetch"><link href="/js/chunk-635a1c8f.a9d1aaf4.js" rel="prefetch"><link href="/js/chunk-6494577c.e1ce5828.js" rel="prefetch"><link href="/js/chunk-67460a1c.1f9b0b96.js" rel="prefetch"><link href="/js/chunk-67b8ac1d.94a91127.js" rel="prefetch"><link href="/js/chunk-6ae76eb5.d24eb9e5.js" rel="prefetch"><link href="/js/chunk-6b09b33a.9ac91d65.js" rel="prefetch"><link href="/js/chunk-6c0ef479.47fe69c1.js" rel="prefetch"><link href="/js/chunk-6e586e04.11afb5c3.js" rel="prefetch"><link href="/js/chunk-6f1e9dae.64715057.js" rel="prefetch"><link href="/js/chunk-6f94585e.5a927f1d.js" rel="prefetch"><link href="/js/chunk-70a2c4ca.b2f5567e.js" rel="prefetch"><link href="/js/chunk-713daeaa.50e43d21.js" rel="prefetch"><link href="/js/chunk-7144e1bd.6e98cfc7.js" rel="prefetch"><link href="/js/chunk-741611d4.fbe9cba6.js" rel="prefetch"><link href="/js/chunk-7441c5f3.bb4a6d29.js" rel="prefetch"><link href="/js/chunk-7467cd38.0d2142cd.js" rel="prefetch"><link href="/js/chunk-787e1612.98ac5317.js" rel="prefetch"><link href="/js/chunk-799a615a.495e73c0.js" rel="prefetch"><link href="/js/chunk-7b07409e.b33ef36e.js" rel="prefetch"><link href="/js/chunk-7ea9dee2.f538eb76.js" rel="prefetch"><link href="/js/chunk-828186dc.0d383e2a.js" rel="prefetch"><link href="/js/chunk-87c707ba.5c8849a7.js" rel="prefetch"><link href="/js/chunk-9a07bb86.e3602155.js" rel="prefetch"><link href="/js/chunk-a6ca334a.cf70b6e1.js" rel="prefetch"><link href="/js/chunk-b68e0234.ba53d9b4.js" rel="prefetch"><link href="/js/chunk-b81deb9a.fbec7940.js" rel="prefetch"><link href="/js/chunk-c00e5ae8.cf443847.js" rel="prefetch"><link href="/js/chunk-c820dc48.0caaf021.js" rel="prefetch"><link href="/js/chunk-d7f7558e.dcbd205c.js" rel="prefetch"><link href="/js/chunk-db5a2c10.39af82d1.js" rel="prefetch"><link href="/js/chunk-dc0caf36.b2669ea0.js" rel="prefetch"><link href="/js/chunk-dd620e26.245d04d5.js" rel="prefetch"><link href="/js/chunk-e1a1da26.e6a20429.js" rel="prefetch"><link href="/js/chunk-e228bd58.84191d65.js" rel="prefetch"><link href="/js/chunk-e5c91840.bba69f5a.js" rel="prefetch"><link href="/js/chunk-e6520a3a.a59bc0bf.js" rel="prefetch"><link href="/js/chunk-ea78d472.112c47e5.js" rel="prefetch"><link href="/js/chunk-f1e284a0.9c7ce9a2.js" rel="prefetch"><link href="/js/chunk-faa58766.2d758715.js" rel="prefetch"><link href="/js/chunk-fbe216a4.ecb1c997.js" rel="prefetch"><link href="/js/chunk-vendors.ae8ed3ce.js" rel="preload" as="script"><link href="/js/main.4286d5ba.js" rel="preload" as="script"></head>
<body>
<noscript>
    <strong>We're sorry but the frontend doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script type="text/javascript" src="/js/chunk-vendors.ae8ed3ce.js"></script><script type="text/javascript" src="/js/main.4286d5ba.js"></script></body>
</html>

Basically all calls to "/api/dashboard/*" respond with above message.

I'm currently investigating why the fallback to this "enso/resources/views/vendor/laravel-enso/core/index.blade.php" file - and what breaks in between.

Any hints & ideas are welcomed.

Thank you,

Error: "Route Error: "user" key is required for route "administration.users.edit""

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

After yarn upgrade from 1.3.31 to 1.3.43 on all edit actions ("pen icon") i press on local entities or enso entities I get:

[Vue warn]: Error in nextTick: "Error: Route Error: "user" key is required for route "administration.users.edit""
VueJS 6
        warn
        logError
        globalHandleError
        handleError
        nextTick
        flushCallbacks

and

Error: "Route Error: "user" key is required for route "administration.users.edit""
    throwMissingKeyError Route.js:77
    optionalParam Route.js:62
    fillParam Route.js:48
    fillParams Route.js:35
    maybeCallNative vuedraggable.common.js:351
    a481 vuedraggable.common.js:1929
    exports vuedraggable.common.js:365
    replace vuedraggable.common.js:1923
    fillParams Route.js:33
    buildUrl Route.js:21
    Route Route.js:10
    route route.js:5
    _default EnsoForm.vue:42
    VueJS 103
vue.common.dev.js:1893
    VueJS 5

Also it seems that the URL changes to main URL, and does not go to /adminitrations/users/1/edit

Also, I'm not 100% sure it comes from the actual upgrade, I had also some local changes but nothing that may affect enso core.

Also I was not sure if this is a ensi-ui/ui bug, of enso-ui/forms - since the error seems to be related to EnsoForm.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.