Comments (8)
Hey Todd, I'm out of town without wifi 😭 until Monday but I'll take a look next week.
Sent from my iPad
On Sep 15, 2016, at 8:41 AM, Todd Austin [email protected] wrote:
@RDelorier So I'm trying to write some tests for this feature.
Basically, the process I'm trying to run is:
The database is set up for the application.
The command canvas:index is run.
The user logs in.
The user clicks the search icon and the bar pops open.
The user inputs some text.
The user hits return since there is no submit button.
The page is redirected and the text that was searched for shows up on the following page.Getting a little stuck. Any chance you want to take a look at it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
from canvas.
If you attempt to use the search without indexing posts first then you will see a PDOException, It would be nice to default to a simple query search if posts have not been indexed. What do you think about having a where ... like '%term%'
as a fallback @austintoddj
from canvas.
Looks like it's pretty ingrained now, nevermind 💤
from canvas.
@RDelorier Have you experienced an issue with this?
from canvas.
Yes, but since the app requires TNTSearch I guess it makes more sense just to handle the issue when the exception occurs.
from canvas.
@RDelorier Do you think this is something I need to dig more into, or should I close this out?
from canvas.
@RDelorier So I'm trying to write some tests for this feature.
Basically, the process I'm trying to run is:
The database is set up for the application.
The command canvas:index
is run.
The user logs in.
The user clicks the search icon and the bar pops open.
The user inputs some text.
The user hits return
since there is no submit button.
The page is redirected and the text that was searched for shows up on the following page.
Getting a little stuck. Any chance you want to take a look at it?
from canvas.
Sounds good @RDelorier! Sorry to hear it's a 'no wifi weekend'! 😂
from canvas.
Related Issues (20)
- how to deploy to vercel or netlify? HOT 1
- how to use spatie pkg https://github.com/spatie/laravel-export with canvas for static site HOT 2
- Is there an artisan command to regenerate an admin user? HOT 1
- Endless loop HOT 2
- How to remove /canvas-ui from url? HOT 1
- Embed Code content doesn't use <pre> tag
- Empty CANVAS_PATH breaks the image uploads HOT 1
- PostStats@getDefaultFavicon returns an error
- is it possible to add new page/module like posts and tags module? HOT 1
- Migration guide from themsaid's wink to canvas
- Ability to create Page HOT 2
- Addin a RSS Feed URL for Post Feed
- Adding a sitemap.xml URL for SEO
- GCP Cloud Storage Bucket with Laravel Spatie HOT 7
- Vendor folder gives 404 HOT 3
- Does not work if you have Vue3 installed HOT 2
- Create a Model Factory for Canvas Posts HOT 2
- Invalid text representation: canvas_users:id -> sessions:user_id HOT 2
- Laravel 11 | Warning 1265 Data truncated for 'user_id'
- Meta tags for topics and tags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canvas.