Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Next.js should have an unobtrusive linting toast #8065

Closed
Timer opened this issue Jul 22, 2019 · 3 comments
Closed

Next.js should have an unobtrusive linting toast #8065

Timer opened this issue Jul 22, 2019 · 3 comments
Labels
Developer Experience Issues related to Next.js logs, Error overlay, etc.
Milestone

Comments

@Timer
Copy link
Member

Timer commented Jul 22, 2019

Next.js should emit linting and non-critical build errors in an unobtrusive toast instead of a full-screen error overlay.

Notably, this is desirable for TypeScript since some users rely on TypeScript as a linter instead of type checker.

Closes #8060

@Timer Timer added this to the 9.1 milestone Jul 22, 2019
@kachkaev
Copy link
Contributor

Also related to #7687

@chrisblossom
Copy link

chrisblossom commented Aug 15, 2019

Copied(ish) from #8331 (comment):

What if next.js had a browser addon that would display information such as build / type / lint errors in a non-intrusive way (outside of the actual webpage, like redux-devtools-extension does) plus any other relevant information specific to next.js (such as if it is a static page), and toggle certain settings such as:

Current ideas:

Toggles (disable/enable):

  • Integrated Typescript checks
  • Integrated lint checks
  • Server-side rendering
  • Client-side JavaScript
  • Make page static / dynamic

Information:

Switches:

  • Restart next.js server
  • Clear cookies
  • Reset state

I'm sure there are plenty more options that make sense here.

I think this could further level-up next.js above their competition and go along way for developer UX.

EDIT: Added recommendations from @Janpot.

@Janpot
Copy link
Contributor

Janpot commented Aug 15, 2019

I like the idea of a browser extension (#7945 (comment)). I'm also thinking it could have things like bundle analysis and performance metrics.

@Timer Timer modified the milestones: 9.1.0, 9.1.1, 9.1.2 Oct 7, 2019
@Timer Timer modified the milestones: 9.1.2, 9.1.3 Oct 23, 2019
@Timer Timer modified the milestones: 9.1.3, 9.1.4 Nov 8, 2019
@Timer Timer modified the milestones: 9.1.4, 9.1.5 Nov 19, 2019
@Timer Timer modified the milestones: 9.1.5, 9.1.6 Dec 10, 2019
@ijjk ijjk modified the milestones: 9.1.6, 9.2.0 Dec 17, 2019
@Timer Timer modified the milestones: 9.2.0, 9.2.x Jan 3, 2020
@Timer Timer modified the milestones: 9.x.x, backlog Aug 18, 2020
@timneutkens timneutkens added the Developer Experience Issues related to Next.js logs, Error overlay, etc. label Nov 18, 2021
@vercel vercel locked and limited conversation to collaborators Dec 7, 2021
@balazsorban44 balazsorban44 converted this issue into discussion #32235 Dec 7, 2021
@housseindjirdeh housseindjirdeh removed their assignment Feb 15, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Developer Experience Issues related to Next.js logs, Error overlay, etc.
Projects
None yet
Development

No branches or pull requests

8 participants