shannah / xataface

Framework for building data-driven web applications in PHP and MySQL
http://xataface.com
GNU General Public License v2.0
134 stars 57 forks source link

No records matched your request. #124

Open RCG-SW opened 2 years ago

RCG-SW commented 2 years ago

Hi,

I can't begin to tell you how thankful I am that you updated the project. I use it to track the sheep on my farm and I would be lost without it.

After upgrading form a very old version of the framework to 3.0 I am running into an issue that the data shows up correctly but in the bottom of the grid I get the "No records matched you request" with the record keys repeated. I suspect it is related to the mobile view.

Please see attached screen shots.

Screenshot 2021-11-30 111045 Screenshot 2021-11-30 111257

shannah commented 2 years ago

Probably you just need to clear out your templates_c directory.

Additionally, with 3.0 I've deprecated the g2 theme. Most of the UI improvements I've made are on the new default theme. It looks like you are probably explicitly enabling it in the [_modules] section of your conf.ini. I recommend commenting this out.

RCG-SW commented 2 years ago

Thanks for the quick response on this I cleared templates_c that did not help.

I commented out g2 from [_modules] but then:

  1. my menu moves to the left
  2. No content gets displayed in mobile responsive view

I know I am imposing here but if you have a few minutes to help me we can get it resolved thru zoom.

See attached. Screenshot 2021-11-30 132817 Screenshot 2021-11-30 132901

shannah commented 2 years ago

Thanks. My apps don't have that many tables in the menu. I'll need to make a change to support the "side" menu.

RCG-SW commented 2 years ago

I would actually like the app to use the top menu rather than the side menu

shannah commented 2 years ago

Add the following to the [_prefs] section of your conf.ini file:

horizontal_tables_menu=1

Also see https://shannah.github.io/xataface-manual/#tables-navigation-menu

That will show you how to customize your navigation menu further: include options other than just tables, and also group menu options together in drop-down menus.

RCG-SW commented 2 years ago

You rock! Thanks again for building and maintaining such an awesome framework! There are so many capabilities and nuances to this framework and it will take me years to get my hands and my head around this. I would live to contribute but I have limited skills. I do like the g2 theme and some of the record navigation but also understand why you went for the responsive framework. 1 thing I miss is the record navigation in edit mode of g2.

shannah commented 2 years ago

1 thing I miss is the record navigation in edit mode of g2.

What record navigation are you referring to?

RCG-SW commented 2 years ago

When you edit records in g2 you get the following nav at the top right and bottom right of the screen. Screenshot 2021-11-30 142938 this allows me to update records with different values one after the other.

shannah commented 2 years ago

I see. I did a lot of work to reduce the noise in the UI for 3.0. This included a decision to make the new/edit forms more modal. I'll look into adding a config option to restore this navigation option on the edit form.