Implementing persistence for the terminal working directory, found an issue with my current data model. :(

This commit is contained in:
Mikayla Maki 2022-11-19 15:14:13 -08:00
parent cb1d2cd1f2
commit a8ed95e1dc
10 changed files with 113 additions and 21 deletions

View file

@ -8,12 +8,12 @@ use anyhow::Result;
use async_recursion::async_recursion;
use gpui::{AsyncAppContext, Axis, ModelHandle, Task, ViewHandle};
use project::Project;
use settings::DockAnchor;
use sqlez::{
use db::sqlez::{
bindable::{Bind, Column},
statement::Statement,
};
use project::Project;
use settings::DockAnchor;
use util::ResultExt;
use crate::{dock::DockPosition, ItemDeserializers, Member, Pane, PaneAxis, Workspace};
@ -228,8 +228,8 @@ impl Column for DockPosition {
#[cfg(test)]
mod tests {
use db::sqlez::connection::Connection;
use settings::DockAnchor;
use sqlez::connection::Connection;
use super::WorkspaceId;