rails_panel icon indicating copy to clipboard operation
rails_panel copied to clipboard

Relative path calculation on the backend

Open gogiel opened this issue 5 years ago • 0 comments

Related to https://github.com/dejan/rails_panel/issues/171

It aims to replace normalizePath filter which:

  • doesn't work well if path includes /app/
  • doesn't support files in other directories, like lib/

https://github.com/dejan/rails_panel/blob/4204111affa05fec6793a77e37072bd4a079f251/rails_panel/assets/javascripts/filters.js#L34-L38

Frontend changes are backward compatible.

gogiel avatar Jun 14 '20 01:06 gogiel